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

Unified Diff: content/public/browser/render_widget_host_view.h

Issue 9969080: Remove TOOLKIT_USES_GTK (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add gtk dependency to android linux host Created 8 years, 9 months 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: content/public/browser/render_widget_host_view.h
diff --git a/content/public/browser/render_widget_host_view.h b/content/public/browser/render_widget_host_view.h
index 367eca50f671f9468188ac43a876302e89fafd01..6fdcdeeb9d267f8fe9a9b782946c413d14f8456f 100644
--- a/content/public/browser/render_widget_host_view.h
+++ b/content/public/browser/render_widget_host_view.h
@@ -6,7 +6,7 @@
#define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_
#pragma once
-#if defined(TOOLKIT_USES_GTK)
+#if defined(TOOLKIT_GTK)
#include <gdk/gdk.h>
#endif
@@ -116,14 +116,12 @@ class CONTENT_EXPORT RenderWidgetHostView {
virtual void WindowFrameChanged() = 0;
#endif // defined(OS_MACOSX)
-#if defined(TOOLKIT_USES_GTK)
+#if defined(TOOLKIT_GTK)
// Gets the event for the last mouse down.
virtual GdkEventButton* GetLastMouseDown() = 0;
-#if !defined(TOOLKIT_VIEWS)
// Builds a submenu containing all the gtk input method commands.
virtual gfx::NativeView BuildInputMethodsGtkMenu() = 0;
-#endif // !defined(TOOLKIT_VIEWS)
-#endif // defined(TOOLKIT_USES_GTK)
+#endif // defined(TOOLKIT_GTK)
// Subclasses should override this method to do what is appropriate to set
// the custom background for their platform.
@@ -139,5 +137,3 @@ class CONTENT_EXPORT RenderWidgetHostView {
} // namespace content
#endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_H_
-
-
« no previous file with comments | « content/public/browser/native_web_keyboard_event.h ('k') | content/public/browser/web_contents_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698