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(); |