Index: trunk/src/ui/message_center/message_center_util.cc |
=================================================================== |
--- trunk/src/ui/message_center/message_center_util.cc (revision 199638) |
+++ trunk/src/ui/message_center/message_center_util.cc (working copy) |
@@ -13,23 +13,17 @@ |
// when a time period in Canary indicates the new notifications are acceptable |
// for default behavior. |
bool IsRichNotificationEnabled() { |
-#if !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(USE_ASH) |
- return false; |
-#endif |
- |
if (CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kDisableRichNotifications)) |
return false; |
if (CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnableRichNotifications)) |
return true; |
- |
-// Not enabled by default on Mac yet. |
#if defined(OS_MACOSX) |
return false; |
-#endif |
- |
+#else |
return true; |
+#endif |
} |
} // namespace message_center |