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 283c19f5e6536c1fc078570814693d234c413ae2..bf673b170031cf858320f9d3228a9e82b969728c 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; |
+} |
oshima
2010/11/08 20:59:38
// namespace gfx
Alex Nicolaou
2010/11/12 04:05:00
Done.
|
+ |
typedef struct _GdkDrawable GdkDrawable; |
class SkBitmap; |
@@ -34,9 +39,12 @@ 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::Point &origin, const gfx::Rect& damage, |
+ XID target); |
+ // As above with origin 0,0 |
void XShowRect(const gfx::Rect& damage, XID target); |
// As above, but use Cairo instead of Xlib. |