diff options
author | pvalchev@google.com <pvalchev@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-09 19:52:16 +0000 |
---|---|---|
committer | pvalchev@google.com <pvalchev@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-09 19:52:16 +0000 |
commit | 753efc479384c254e263fd11390846a060fa6ce0 (patch) | |
tree | 488097f0622c5d744059f3c2ada4894b683c5305 /chrome/browser/plugin_process_host.cc | |
parent | 5e4d24d67febed160e2020f5c8f13d8073921fc4 (diff) | |
download | chromium_src-753efc479384c254e263fd11390846a060fa6ce0.zip chromium_src-753efc479384c254e263fd11390846a060fa6ce0.tar.gz chromium_src-753efc479384c254e263fd11390846a060fa6ce0.tar.bz2 |
BSD ifdefs, etc. necessary for chrome/
Review URL: http://codereview.chromium.org/656009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41067 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_process_host.cc')
-rw-r--r-- | chrome/browser/plugin_process_host.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/plugin_process_host.cc b/chrome/browser/plugin_process_host.cc index 6250837..7772eb3 100644 --- a/chrome/browser/plugin_process_host.cc +++ b/chrome/browser/plugin_process_host.cc @@ -45,7 +45,7 @@ #include "webkit/glue/plugins/plugin_constants_win.h" #endif -#if defined(OS_LINUX) +#if defined(USE_X11) #include "app/gfx/gtk_native_view_id_manager.h" #endif @@ -281,13 +281,13 @@ void PluginProcessHost::AddWindow(HWND window) { #endif // defined(OS_WIN) -#if defined(OS_LINUX) +#if defined(TOOLKIT_USES_GTK) void PluginProcessHost::OnMapNativeViewId(gfx::NativeViewId id, gfx::PluginWindowHandle* output) { *output = 0; Singleton<GtkNativeViewManager>()->GetXIDForId(output, id); } -#endif // defined(OS_LINUX) +#endif // defined(TOOLKIT_USES_GTK) PluginProcessHost::PluginProcessHost() : ChildProcessHost( @@ -481,7 +481,7 @@ void PluginProcessHost::OnMessageReceived(const IPC::Message& msg) { OnPluginWindowDestroyed) IPC_MESSAGE_HANDLER(PluginProcessHostMsg_DownloadUrl, OnDownloadUrl) #endif -#if defined(OS_LINUX) +#if defined(TOOLKIT_USES_GTK) IPC_MESSAGE_HANDLER(PluginProcessHostMsg_MapNativeViewId, OnMapNativeViewId) #endif |