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

Unified Diff: chrome/browser/notifications/notification_ui_manager.cc

Issue 11896085: Adding implementation for MessageCenter::Delegate on MessageCeneterNotificationManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable on win7_aura 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 | « chrome/browser/notifications/message_center_notifications_browsertest.cc ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0006496b683641003eddcfeaa926fcd43468e052..1b09a48e763b29ad75279da5744f0ed339baf713 100644
--- a/chrome/browser/notifications/notification_ui_manager.cc
+++ b/chrome/browser/notifications/notification_ui_manager.cc
@@ -15,8 +15,14 @@
// static
bool NotificationUIManager::DelegatesToMessageCenter() {
+// MessageCenterNotificationManager doesn't work quite well with Ash
+// right now. Until it matures in ChromeOS, delegating to message center will
+// be done by BalloonCollectionImplAsh through BalloonNotificationUIManager.
+// TODO(mukai): remove this #if when that's no problem.
+#if !defined(USE_ASH)
return CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableRichNotifications);
+#endif
return false;
}
« no previous file with comments | « chrome/browser/notifications/message_center_notifications_browsertest.cc ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698