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

Unified Diff: chrome/browser/renderer_host/backing_store.h

Issue 155321: Improve performance of dragged tab renderering.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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 | « chrome/browser/gtk/tabs/dragged_tab_gtk.cc ('k') | chrome/browser/renderer_host/backing_store_x.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/backing_store.h
===================================================================
--- chrome/browser/renderer_host/backing_store.h (revision 20318)
+++ chrome/browser/renderer_host/backing_store.h (working copy)
@@ -23,6 +23,7 @@
class RenderWidgetHost;
class SkBitmap;
class TransportDIB;
+typedef struct _GdkDrawable GdkDrawable;
// BackingStore ----------------------------------------------------------------
@@ -75,6 +76,11 @@
SkBitmap PaintRectToBitmap(const gfx::Rect& rect);
#endif
+#if defined(TOOLKIT_GTK)
+ // Paint the backing store into the target's |dest_rect|.
+ void PaintToRect(const gfx::Rect& dest_rect, GdkDrawable* target);
+#endif
+
// Paints the bitmap from the renderer onto the backing store.
void PaintRect(base::ProcessHandle process,
TransportDIB* bitmap,
« no previous file with comments | « chrome/browser/gtk/tabs/dragged_tab_gtk.cc ('k') | chrome/browser/renderer_host/backing_store_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698