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

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

Issue 234533002: Remove a bunch of TOOLKIT_GTK in content/ and gpu/, as well as NPAPI plugins on linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, skip changing browser_main_loop.cc because of presubmit issues, will follow up Created 6 years, 8 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
« no previous file with comments | « content/public/browser/native_web_keyboard_event.h ('k') | content/public/common/common_param_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_widget_host.h
diff --git a/content/public/browser/render_widget_host.h b/content/public/browser/render_widget_host.h
index b5e82816707e5942e77db68f4c472ad02272d8fc..70ba230ef8bc0826f659e7dc2dd15d271312b624 100644
--- a/content/public/browser/render_widget_host.h
+++ b/content/public/browser/render_widget_host.h
@@ -16,9 +16,7 @@
#include "ui/gfx/size.h"
#include "ui/surface/transport_dib.h"
-#if defined(TOOLKIT_GTK)
-#include "ui/base/x/x11_util.h"
-#elif defined(OS_MACOSX)
+#if defined(OS_MACOSX)
#include "skia/ext/platform_device.h"
#endif
@@ -193,11 +191,7 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Sender {
virtual void LockBackingStore() = 0;
virtual void UnlockBackingStore() = 0;
#endif
-#if defined(TOOLKIT_GTK)
- // Paint the backing store into the target's |dest_rect|.
- virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect,
- GdkWindow* target) = 0;
-#elif defined(OS_MACOSX)
+#if defined(OS_MACOSX)
virtual gfx::Size GetBackingStoreSize() = 0;
virtual bool CopyFromBackingStoreToCGContext(const CGRect& dest_rect,
CGContextRef target) = 0;
« no previous file with comments | « content/public/browser/native_web_keyboard_event.h ('k') | content/public/common/common_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698