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

Unified Diff: ash/root_window_controller.h

Issue 10909043: Cancel drag if display configuration changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | « ash/display/multi_display_manager_unittest.cc ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller.h
diff --git a/ash/root_window_controller.h b/ash/root_window_controller.h
index 473c96e90ecb68f5c7d5df599cb01bdeda0a0652..c17d85a445025365e724ae4ad1b89d15eb73968f 100644
--- a/ash/root_window_controller.h
+++ b/ash/root_window_controller.h
@@ -59,6 +59,12 @@ class RootWindowController {
void CreateContainers();
void InitLayoutManagers();
+ // Deletes associated objects and clears the state, but doesn't delete
+ // the root window yet. This is used to delete a secondary displays'
+ // root window safely when the display disconnect signal is received,
+ // which may come while we're in the nested message loop.
+ void Shutdown();
+
// Deletes all child windows and performs necessary cleanup.
void CloseChildWindows();
« no previous file with comments | « ash/display/multi_display_manager_unittest.cc ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698