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

Unified Diff: ash/shell.h

Issue 9968101: Close notification windows while message loop is still active (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 8 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 | « no previous file | ash/shell.cc » ('j') | chrome/browser/ui/browser_list_aura.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « no previous file | ash/shell.cc » ('j') | chrome/browser/ui/browser_list_aura.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698