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

Unified Diff: ash/display/display_controller.h

Issue 11644012: Temporarily remember the primary root window while replacing the display. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | « no previous file | ash/display/display_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_controller.h
diff --git a/ash/display/display_controller.h b/ash/display/display_controller.h
index 67df6d3dc6b31e8b5ea8d97b40c3ff791729d6ba..22d92bd6e754ca94e463a5d270570715c4a451a7 100644
--- a/ash/display/display_controller.h
+++ b/ash/display/display_controller.h
@@ -181,6 +181,10 @@ class ASH_EXPORT DisplayController : public gfx::DisplayObserver {
ObserverList<Observer> observers_;
+ // Store the primary root window temporarily while replacing
+ // display.
+ aura::RootWindow* primary_root_window_for_replace_;
Daniel Erat 2012/12/19 16:49:13 can you store this in a scoped_ptr instead so it w
oshima 2012/12/19 16:59:51 If it ever leaked, many bad things will happen, an
Daniel Erat 2012/12/19 17:02:26 Doesn't this get leaked if OnDisplayRemoved() is c
+
DISALLOW_COPY_AND_ASSIGN(DisplayController);
};
« no previous file with comments | « no previous file | ash/display/display_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698