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

Unified Diff: chrome/browser/browser_process.h

Issue 11958025: Start delegating notifications to MessageCenter on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sky cr feedback 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 | « ash/system/web_notification/web_notification_tray.cc ('k') | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process.h
diff --git a/chrome/browser/browser_process.h b/chrome/browser/browser_process.h
index af1b13ebe66bb57e25e5bb366a966cbd17be65da..57ff79946ec3a985a8025183f9831fd3a49deb9b 100644
--- a/chrome/browser/browser_process.h
+++ b/chrome/browser/browser_process.h
@@ -55,6 +55,12 @@ namespace extensions {
class EventRouterForwarder;
}
+#if defined(ENABLE_MESSAGE_CENTER) && !defined(USE_ASH)
sky 2013/01/22 21:46:39 Why do we need the !ASH here? Can we instead set E
+namespace message_center {
+class MessageCenter;
+}
+#endif
+
namespace net {
class URLRequestContextGetter;
}
@@ -112,6 +118,11 @@ class BrowserProcess {
// Returns the manager for desktop notifications.
virtual NotificationUIManager* notification_ui_manager() = 0;
+#if defined(ENABLE_MESSAGE_CENTER) && !defined(USE_ASH)
+ // MessageCenter is a global list of currently displayed notifications.
+ virtual message_center::MessageCenter* message_center() = 0;
+#endif
+
// Returns the state object for the thread that we perform I/O
// coordination on (network requests, communication with renderers,
// etc.
« no previous file with comments | « ash/system/web_notification/web_notification_tray.cc ('k') | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698