summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/webview_host.h
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-31 01:03:52 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-31 01:03:52 +0000
commit10a6e77b356565b7c8d18812747b261f0605aae4 (patch)
tree669258341cb2099c6be4d7d5909bcebb0307dcc4 /webkit/tools/test_shell/webview_host.h
parentb7b412a5ee120091770e9c8bd10b5cb17a8a9aa4 (diff)
downloadchromium_src-10a6e77b356565b7c8d18812747b261f0605aae4.zip
chromium_src-10a6e77b356565b7c8d18812747b261f0605aae4.tar.gz
chromium_src-10a6e77b356565b7c8d18812747b261f0605aae4.tar.bz2
bsds: views/ and webkit/ support for FreeBSD/OpenBSD
- add a TOOLKIT_USES_GTK #define to catch GTK and Views+GTK - lots of ifdef twiddling Review URL: http://codereview.chromium.org/519030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35402 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/webview_host.h')
-rw-r--r--webkit/tools/test_shell/webview_host.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/webkit/tools/test_shell/webview_host.h b/webkit/tools/test_shell/webview_host.h
index f9fd21a..ed783dd 100644
--- a/webkit/tools/test_shell/webview_host.h
+++ b/webkit/tools/test_shell/webview_host.h
@@ -11,7 +11,8 @@
#include "base/basictypes.h"
#include "base/gfx/rect.h"
#include "webkit/tools/test_shell/webwidget_host.h"
-#if defined(OS_LINUX)
+
+#if defined(TOOLKIT_USES_GTK)
#include "webkit/glue/plugins/gtk_plugin_container_manager.h"
#endif
@@ -34,7 +35,7 @@ class WebViewHost : public WebWidgetHost {
WebKit::WebView* webview() const;
-#if defined(OS_LINUX)
+#if defined(TOOLKIT_USES_GTK)
// Create a new plugin parent container for a given plugin XID.
void CreatePluginContainer(gfx::PluginWindowHandle id);
@@ -55,7 +56,7 @@ class WebViewHost : public WebWidgetHost {
}
#endif
-#if defined(OS_LINUX)
+#if defined(TOOLKIT_USES_GTK)
// Helper class that creates and moves plugin containers.
GtkPluginContainerManager plugin_container_manager_;
#endif