Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Unified Diff: webkit/tools/test_shell/webview_host.h

Issue 519030: bsds: views/ and webkit/ support for FreeBSD/OpenBSD (Closed)
Patch Set: Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/tools/test_shell/webview_host.h
diff --git a/webkit/tools/test_shell/webview_host.h b/webkit/tools/test_shell/webview_host.h
index f9fd21aafd9f29b8aad298aa867937c1dc74efb4..ed783ddf5ab43bc6a5d515a0d3fa9e510d181efd 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

Powered by Google App Engine
This is Rietveld 408576698