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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.cc

Issue 231733005: Delete the GTK+ port of Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remerge to ToT 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
Index: content/browser/renderer_host/render_widget_host_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index c7e66dbc734ee6841e75e803f40108a0ac356772..aee32a0835e549bbf20db337285d963d7dfb7cf8 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -69,9 +69,7 @@
#include "ui/snapshot/snapshot.h"
#include "webkit/common/webpreferences.h"
-#if defined(TOOLKIT_GTK)
-#include "content/browser/renderer_host/backing_store_gtk.h"
-#elif defined(OS_MACOSX)
+#if defined(OS_MACOSX)
#include "content/browser/renderer_host/backing_store_mac.h"
#elif defined(OS_WIN)
#include "content/common/plugin_constants_win.h"
@@ -761,17 +759,7 @@ void RenderWidgetHostImpl::UnlockBackingStore() {
}
#endif
-#if defined(TOOLKIT_GTK)
-bool RenderWidgetHostImpl::CopyFromBackingStoreToGtkWindow(
- const gfx::Rect& dest_rect, GdkWindow* target) {
- BackingStore* backing_store = GetBackingStore(false);
- if (!backing_store)
- return false;
- (static_cast<BackingStoreGtk*>(backing_store))->PaintToRect(
- dest_rect, target);
- return true;
-}
-#elif defined(OS_MACOSX)
+#if defined(OS_MACOSX)
gfx::Size RenderWidgetHostImpl::GetBackingStoreSize() {
BackingStore* backing_store = GetBackingStore(false);
return backing_store ? backing_store->size() : gfx::Size();

Powered by Google App Engine
This is Rietveld 408576698