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

Unified Diff: ui/message_center/message_center_switches.h

Issue 12096004: Made --enable-rich-notifications flag available to message_center. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased + fixed build issue. 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/common/chrome_switches.cc ('k') | ui/message_center/message_center_switches.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/message_center_switches.h
diff --git a/ui/message_center/message_center_switches.h b/ui/message_center/message_center_switches.h
index a3b7a5d319aa316c3f42c9f6c42fb61e36c518e6..590a98f6ace0e6a189dc4665ba719e79079cc959 100644
--- a/ui/message_center/message_center_switches.h
+++ b/ui/message_center/message_center_switches.h
@@ -21,6 +21,17 @@ namespace switches {
// - WebNotificationButtonViewBase: merge into WebNotificationButtonView.
MESSAGE_CENTER_EXPORT extern const char kDisableNewMessageCenterBubble[];
+// Enables rich templated notifications and NotificationCenter.
+MESSAGE_CENTER_EXPORT extern const char kEnableRichNotifications[];
+
+// Enables simple notifications with the new templates defined as part of rich
+// notifications. When kEnableRichNotifications is set those templates will be
+// used regardless of whether this flag is set, but this flag allows us to get
+// the new templates even when kEnableRichNotifications is not set. This is
+// useful for now because the kEnableRichNotifications functionality isn't
+// complete. TODO(dharcourt): Remove when kEnableRichNotifications is ready.
+MESSAGE_CENTER_EXPORT extern const char kEnableNewSimpleNotifications[];
+
} // namespace switches
} // namespace message_center
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | ui/message_center/message_center_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698