Index: ash/shell.h |
diff --git a/ash/shell.h b/ash/shell.h |
index 2c0657be4a48ab3b79aaa8e097f893f81c1f7bf3..bc2ef6c462d839f7fb15de0c9370c05724ec8529 100644 |
--- a/ash/shell.h |
+++ b/ash/shell.h |
@@ -130,6 +130,10 @@ class ASH_EXPORT Shell { |
aura::Window* GetContainer(int container_id); |
const aura::Window* GetContainer(int container_id) const; |
+ // Close all ash windows, such as launcher, status area and background, |
+ // and remove all event filters. |
+ void Shutdown(); |
+ |
// Adds or removes |filter| from the RootWindowEventFilter. |
void AddRootWindowEventFilter(aura::EventFilter* filter); |
void RemoveRootWindowEventFilter(aura::EventFilter* filter); |
@@ -343,6 +347,9 @@ class ASH_EXPORT Shell { |
// |status_widget_|). |
scoped_ptr<SystemTray> tray_; |
+ // If the shell has been shutdown. |
Ben Goodger (Google)
2012/04/10 22:35:02
shut down
|
+ bool shutdown_; |
+ |
DISALLOW_COPY_AND_ASSIGN(Shell); |
}; |