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

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

Issue 27169: Linux: add splash screen (Closed)
Patch Set: ... Created 11 years, 10 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/tab_contents_container_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
diff --git a/chrome/browser/renderer_host/backing_store.h b/chrome/browser/renderer_host/backing_store.h
index ce18c7d39674a9c6689453be41eeb49345e4bc0d..a74fe5d00a46d7cd82db779f35ab938130146c0e 100644
--- a/chrome/browser/renderer_host/backing_store.h
+++ b/chrome/browser/renderer_host/backing_store.h
@@ -36,10 +36,10 @@ class BackingStore {
// x_connection: the display to target
// depth: the depth of the X window which will be drawn into
// visual: An Xlib Visual describing the format of the target window
- // parent_window: The X id of the target window
+ // root_window: The X id of the root window
// use_shared_memory: if true, the X server is local
BackingStore(const gfx::Size& size, Display* x_connection, int depth,
- void* visual, XID parent_window, bool use_shared_memory);
+ void* visual, XID root_window, bool use_shared_memory);
// This is for unittesting only. An object constructed using this constructor
// will silently ignore all paints
explicit BackingStore(const gfx::Size& size);
@@ -57,7 +57,7 @@ class BackingStore {
// display: the display of the backing store and target window
// damage: the area to copy
// target: the X id of the target window
- void ShowRect(const gfx::Rect& damage);
+ void ShowRect(const gfx::Rect& damage, XID target);
#endif
// Paints the bitmap from the renderer onto the backing store.
@@ -104,7 +104,7 @@ class BackingStore {
// If this is true, then |connection_| is good for MIT-SHM (X shared memory).
const bool use_shared_memory_;
// The parent window (probably a GtkDrawingArea) for this backing store.
- const XID parent_window_;
+ const XID root_window_;
// This is a handle to the server side pixmap which is our backing store.
XID pixmap_;
// This is the RENDER picture pointing at |pixmap_|.
« no previous file with comments | « chrome/browser/gtk/tab_contents_container_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