From d5c1af6b0da21c11e9327375d18fcd528023c7ad Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Wed, 4 Feb 2009 20:56:57 +0000 Subject: Get windowed plugins (Flash) limping along on Linux. We still crash when you navigate away from the page. (PS: the plan is to unfork the _gtk.cc file once it gets closer to what we want, so you don't need to look at that too closely. I just wanted to check in what I have since it's getting big.) Review URL: http://codereview.chromium.org/19413 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9170 0039d316-1c4b-4281-b951-d872f2087c98 --- third_party/npapi/bindings/npapi.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'third_party/npapi') diff --git a/third_party/npapi/bindings/npapi.h b/third_party/npapi/bindings/npapi.h index 954a0ed..1ab6463 100644 --- a/third_party/npapi/bindings/npapi.h +++ b/third_party/npapi/bindings/npapi.h @@ -103,6 +103,13 @@ # endif /* XP_WIN */ #endif /* _WINDOWS */ +// BEGIN GOOGLE MODIFICATIONS +// On Linux, be sure to set the Mozilla-specific flag. +#ifdef OS_LINUX +#define XP_UNIX 1 +#endif +// END GOOGLE MODIFICATIONS + #ifdef __MWERKS__ # define _declspec __declspec # ifdef __INTEL__ -- cgit v1.1