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

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: 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 | « 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..942c0b0fed52c18f036b621f9c2ee5a5fab226a9 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)
+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)
+ // 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