summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_widget_host.cc
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-18 21:24:34 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-18 21:24:34 +0000
commit493ba6474eb990b53cb34f57370d4660b2b6aa55 (patch)
treec53f8ea803354c4d4006024dda3e39abe6fc9cc0 /chrome/browser/renderer_host/render_widget_host.cc
parentbbe8521434be58c20cb2a41167bb947e95fc6b4e (diff)
downloadchromium_src-493ba6474eb990b53cb34f57370d4660b2b6aa55.zip
chromium_src-493ba6474eb990b53cb34f57370d4660b2b6aa55.tar.gz
chromium_src-493ba6474eb990b53cb34f57370d4660b2b6aa55.tar.bz2
Adds drop support for views on gtk. As X lazily provides drop data I
needed to tweak the views API a bit. BUG=none TEST=none Review URL: http://codereview.chromium.org/165407 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23653 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/render_widget_host.cc')
-rw-r--r--chrome/browser/renderer_host/render_widget_host.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host.cc b/chrome/browser/renderer_host/render_widget_host.cc
index 996f63f..c7d7e19 100644
--- a/chrome/browser/renderer_host/render_widget_host.cc
+++ b/chrome/browser/renderer_host/render_widget_host.cc
@@ -15,9 +15,12 @@
#include "chrome/browser/renderer_host/render_widget_host_view.h"
#include "chrome/common/notification_service.h"
#include "chrome/common/render_messages.h"
-#include "views/view.h"
#include "webkit/glue/webcursor.h"
+#if defined(TOOLKIT_VIEWS)
+#include "views/view.h"
+#endif
+
#if defined(OS_WIN)
#include "base/gfx/gdi_util.h"
#include "chrome/app/chrome_dll_resource.h"