summaryrefslogtreecommitdiffstats
path: root/webkit/tools
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-05 00:21:22 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-05 00:21:22 +0000
commita13283ccd0eef981bd92b5ba3b78c7d1b4a678f5 (patch)
tree2cb114cfcd3d89203d045c56ec2af4d2d52cf9b0 /webkit/tools
parentb09be0a7dace2e86516a2661c9c504d640abed7c (diff)
downloadchromium_src-a13283ccd0eef981bd92b5ba3b78c7d1b4a678f5.zip
chromium_src-a13283ccd0eef981bd92b5ba3b78c7d1b4a678f5.tar.gz
chromium_src-a13283ccd0eef981bd92b5ba3b78c7d1b4a678f5.tar.bz2
Remove TOOLKIT_USES_GTK and consolidate it into TOOLKIT_GTK
Add gtk dependency to base.gyp for android host_os="linux" case BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9969080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130784 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools')
-rw-r--r--webkit/tools/test_shell/test_webview_delegate.cc2
-rw-r--r--webkit/tools/test_shell/test_webview_delegate.h4
-rw-r--r--webkit/tools/test_shell/webview_host.h6
-rw-r--r--webkit/tools/test_shell/webwidget_host.h4
4 files changed, 8 insertions, 8 deletions
diff --git a/webkit/tools/test_shell/test_webview_delegate.cc b/webkit/tools/test_shell/test_webview_delegate.cc
index 7698d6a..d1c584b 100644
--- a/webkit/tools/test_shell/test_webview_delegate.cc
+++ b/webkit/tools/test_shell/test_webview_delegate.cc
@@ -965,7 +965,7 @@ TestWebViewDelegate::TestWebViewDelegate(TestShell* shell)
page_id_(-1),
last_page_id_updated_(-1),
using_fake_rect_(false),
-#if defined(TOOLKIT_USES_GTK)
+#if defined(TOOLKIT_GTK)
cursor_type_(GDK_X_CURSOR),
#endif
smart_insert_delete_enabled_(true),
diff --git a/webkit/tools/test_shell/test_webview_delegate.h b/webkit/tools/test_shell/test_webview_delegate.h
index 29af104..8a87db3 100644
--- a/webkit/tools/test_shell/test_webview_delegate.h
+++ b/webkit/tools/test_shell/test_webview_delegate.h
@@ -41,7 +41,7 @@
#include "webkit/tools/test_shell/drop_delegate.h"
#endif
-#if defined(TOOLKIT_USES_GTK)
+#if defined(TOOLKIT_GTK)
#include <gdk/gdk.h>
#endif
@@ -407,7 +407,7 @@ class TestWebViewDelegate : public WebKit::WebViewClient,
scoped_refptr<TestDropDelegate> drop_delegate_;
#endif
-#if defined(TOOLKIT_USES_GTK)
+#if defined(TOOLKIT_GTK)
// The type of cursor the window is currently using.
// Used for judging whether a new SetCursor call is actually changing the
// cursor.
diff --git a/webkit/tools/test_shell/webview_host.h b/webkit/tools/test_shell/webview_host.h
index 4ea261a..5faf32d 100644
--- a/webkit/tools/test_shell/webview_host.h
+++ b/webkit/tools/test_shell/webview_host.h
@@ -10,7 +10,7 @@
#include "ui/gfx/rect.h"
#include "webkit/tools/test_shell/webwidget_host.h"
-#if defined(TOOLKIT_USES_GTK)
+#if defined(TOOLKIT_GTK)
#include "webkit/plugins/npapi/gtk_plugin_container_manager.h"
#endif
@@ -35,7 +35,7 @@ class WebViewHost : public WebWidgetHost {
WebKit::WebView* webview() const;
-#if defined(TOOLKIT_USES_GTK)
+#if defined(TOOLKIT_GTK)
// Create a new plugin parent container for a given plugin XID.
void CreatePluginContainer(gfx::PluginWindowHandle id);
@@ -56,7 +56,7 @@ class WebViewHost : public WebWidgetHost {
}
#endif
-#if defined(TOOLKIT_USES_GTK)
+#if defined(TOOLKIT_GTK)
// Helper class that creates and moves plugin containers.
webkit::npapi::GtkPluginContainerManager plugin_container_manager_;
#endif
diff --git a/webkit/tools/test_shell/webwidget_host.h b/webkit/tools/test_shell/webwidget_host.h
index 6c50d07..3dd430d 100644
--- a/webkit/tools/test_shell/webwidget_host.h
+++ b/webkit/tools/test_shell/webwidget_host.h
@@ -97,7 +97,7 @@ class WebWidgetHost {
void KeyEvent(NSEvent *);
void SetFocus(bool enable);
protected:
-#elif defined(TOOLKIT_USES_GTK)
+#elif defined(TOOLKIT_GTK)
public:
// ---------------------------------------------------------------------------
// This is needed on Linux because the GtkWidget creation is the same between
@@ -142,7 +142,7 @@ class WebWidgetHost {
bool track_mouse_leave_;
#endif
-#if defined(TOOLKIT_USES_GTK)
+#if defined(TOOLKIT_GTK)
// Since GtkWindow resize is asynchronous, we have to stash the dimensions,
// so that the backing store doesn't have to wait for sizing to take place.
gfx::Size logical_size_;