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

Unified Diff: ash/shell.h

Issue 11958025: Start delegating notifications to MessageCenter on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: another build fix Created 7 years, 11 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') | no next file with comments »
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 a9cdcd2abd1f0c9d4063946217bf34f5c390370a..d57f519c1fe699be6beddbb012813f217842f795 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -63,6 +63,10 @@ class WindowModalityController;
}
}
+namespace message_center {
+class MessageCenter;
+}
+
namespace ash {
class AcceleratorController;
@@ -431,9 +435,12 @@ class ASH_EXPORT Shell
}
#endif // defined(OS_CHROMEOS)
- RootWindowHostFactory* root_window_host_factory() {
- return root_window_host_factory_.get();
- }
+ RootWindowHostFactory* root_window_host_factory() {
+ return root_window_host_factory_.get();
+ }
+
+ // MessageCenter is a global list of currently displayed notifications.
+ message_center::MessageCenter* message_center();
private:
FRIEND_TEST_ALL_PREFIXES(ExtendedDesktopTest, TestCursor);
@@ -576,6 +583,8 @@ class ASH_EXPORT Shell
scoped_ptr<internal::DisplayChangeObserverX11> display_change_observer_;
#endif // defined(OS_CHROMEOS)
+ scoped_ptr<message_center::MessageCenter> message_center_;
+
CursorManager cursor_manager_;
ObserverList<ShellObserver> observers_;
« no previous file with comments | « no previous file | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698