summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_process_impl.h
diff options
context:
space:
mode:
authorjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-30 03:44:03 +0000
committerjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-30 03:44:03 +0000
commit29672abd046612aa325fcfc0e69e1cc4d91c299c (patch)
treeb20163ccfd4ed8711f9d69c7b00bbce949b8acd4 /chrome/browser/browser_process_impl.h
parent574de276b0b39820961f7cf03cf23e0389878a4a (diff)
downloadchromium_src-29672abd046612aa325fcfc0e69e1cc4d91c299c.zip
chromium_src-29672abd046612aa325fcfc0e69e1cc4d91c299c.tar.gz
chromium_src-29672abd046612aa325fcfc0e69e1cc4d91c299c.tar.bz2
Connect the various pieces for notifications... hook up NotificationUIManager to BrowserProcess to DesktopNotificationService to RenderView.
BUG=none TEST=none Review URL: http://codereview.chromium.org/342043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30557 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process_impl.h')
-rw-r--r--chrome/browser/browser_process_impl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h
index a949ae4..ea9efb4 100644
--- a/chrome/browser/browser_process_impl.h
+++ b/chrome/browser/browser_process_impl.h
@@ -126,6 +126,13 @@ class BrowserProcessImpl : public BrowserProcess, public NonThreadSafe {
return clipboard_.get();
}
+ virtual NotificationUIManager* notification_ui_manager() {
+ DCHECK(CalledOnValidThread());
+ if (!created_notification_ui_manager_)
+ CreateNotificationUIManager();
+ return notification_ui_manager_.get();
+ }
+
virtual IconManager* icon_manager() {
DCHECK(CalledOnValidThread());
if (!created_icon_manager_)
@@ -217,6 +224,7 @@ class BrowserProcessImpl : public BrowserProcess, public NonThreadSafe {
void CreateDebuggerWrapper(int port);
void CreateDevToolsManager();
void CreateGoogleURLTracker();
+ void CreateNotificationUIManager();
#if defined(OS_WIN)
void InitBrokerServices(sandbox::BrokerServices* broker_services);
@@ -267,6 +275,10 @@ class BrowserProcessImpl : public BrowserProcess, public NonThreadSafe {
scoped_ptr<Clipboard> clipboard_;
+ // Manager for desktop notification UI.
+ bool created_notification_ui_manager_;
+ scoped_ptr<NotificationUIManager> notification_ui_manager_;
+
scoped_ptr<AutomationProviderList> automation_provider_list_;
scoped_ptr<GoogleURLTracker> google_url_tracker_;