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_; |