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

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

Issue 4319003: Replace TabContentsViewGtk with TabContentsViewViews as part of the ongoing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address final comments from reviewers Created 10 years, 1 month 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/constrained_window_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_x.h
diff --git a/chrome/browser/renderer_host/backing_store_x.h b/chrome/browser/renderer_host/backing_store_x.h
index e6a73a75ddde1f60f8680d83b7fefd1c28a16d88..fd249b3e1f5e1c157808e5a0c41978a6ef3dedaf 100644
--- a/chrome/browser/renderer_host/backing_store_x.h
+++ b/chrome/browser/renderer_host/backing_store_x.h
@@ -11,6 +11,11 @@
#include "build/build_config.h"
#include "chrome/browser/renderer_host/backing_store.h"
+namespace gfx {
+class Point;
+class Rect;
+} // namespace gfx
+
typedef struct _GdkDrawable GdkDrawable;
class SkBitmap;
@@ -34,10 +39,11 @@ class BackingStoreX : public BackingStore {
XID root_window() const { return root_window_; }
// Copy from the server-side backing store to the target window
- // display: the display of the backing store and target window
+ // origin: the destination rectangle origin
// damage: the area to copy
// target: the X id of the target window
- void XShowRect(const gfx::Rect& damage, XID target);
+ void XShowRect(const gfx::Point &origin, const gfx::Rect& damage,
+ XID target);
// As above, but use Cairo instead of Xlib.
void CairoShowRect(const gfx::Rect& damage, GdkDrawable* drawable);
« no previous file with comments | « chrome/browser/gtk/constrained_window_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