| Index: chrome/browser/notifications/notification_ui_manager.cc
|
| diff --git a/chrome/browser/notifications/notification_ui_manager.cc b/chrome/browser/notifications/notification_ui_manager.cc
|
| index b4b7f883662ab18a81f9163e82c857b4c59384a0..551706407ad9b28d8e0028781099ab511a51318b 100644
|
| --- a/chrome/browser/notifications/notification_ui_manager.cc
|
| +++ b/chrome/browser/notifications/notification_ui_manager.cc
|
| @@ -10,6 +10,7 @@
|
|
|
| #if defined(ENABLE_MESSAGE_CENTER)
|
| #include "chrome/browser/notifications/message_center_notification_manager.h"
|
| +#include "chrome/browser/ui/message_center/message_center_util.h"
|
| #endif
|
|
|
| // static
|
| @@ -26,8 +27,12 @@ bool NotificationUIManager::DelegatesToMessageCenter() {
|
| // static
|
| NotificationUIManager* NotificationUIManager::Create(PrefService* local_state) {
|
| #if defined(ENABLE_MESSAGE_CENTER)
|
| - if (DelegatesToMessageCenter())
|
| - return new MessageCenterNotificationManager();
|
| + if (DelegatesToMessageCenter()) {
|
| + chrome::GetMessageCenterTray();
|
| + // TODO(dewittj): Enable this when MessageCenterNotificaitonManager does
|
| + // something.
|
| + // return new MessageCenterNotificationManager();
|
| + }
|
| #endif
|
| BalloonNotificationUIManager* balloon_manager =
|
| new BalloonNotificationUIManager(local_state);
|
|
|