summaryrefslogtreecommitdiffstats
path: root/third_party/npapi
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-04 20:56:57 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-04 20:56:57 +0000
commitd5c1af6b0da21c11e9327375d18fcd528023c7ad (patch)
tree2dcd4cb0b0a60a21c903741262ab88887347d93a /third_party/npapi
parente368e2bd7cf84dca893d6df74dca156d38849d22 (diff)
downloadchromium_src-d5c1af6b0da21c11e9327375d18fcd528023c7ad.zip
chromium_src-d5c1af6b0da21c11e9327375d18fcd528023c7ad.tar.gz
chromium_src-d5c1af6b0da21c11e9327375d18fcd528023c7ad.tar.bz2
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
Diffstat (limited to 'third_party/npapi')
-rw-r--r--third_party/npapi/bindings/npapi.h7
1 files changed, 7 insertions, 0 deletions
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__