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

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: added USE_ASH guard to test code as well 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
Index: chrome/browser/browser_process.h
diff --git a/chrome/browser/browser_process.h b/chrome/browser/browser_process.h
index af1b13ebe66bb57e25e5bb366a966cbd17be65da..1a75eab74cbb766de74325960290e9c7c23cec99 100644
--- a/chrome/browser/browser_process.h
+++ b/chrome/browser/browser_process.h
@@ -55,6 +55,10 @@ namespace extensions {
class EventRouterForwarder;
}
+namespace message_center {
+class MessageCenter;
+}
+
namespace net {
class URLRequestContextGetter;
}
@@ -112,6 +116,9 @@ class BrowserProcess {
// Returns the manager for desktop notifications.
virtual NotificationUIManager* notification_ui_manager() = 0;
+ // MessageCenter is a global list of currently displayed notifications.
+ virtual message_center::MessageCenter* message_center() = 0;
sky 2013/01/22 19:29:00 Should this be in a defined(ENABLE_MESSAGE_CENTER)
Dmitry Titov 2013/01/22 21:01:07 Done. Also !(USE_ASH)
+
// Returns the state object for the thread that we perform I/O
// coordination on (network requests, communication with renderers,
// etc.

Powered by Google App Engine
This is Rietveld 408576698