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

Side by Side 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, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | ui/message_center/message_center_switches.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_SWITCHES_H_ 5 #ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_SWITCHES_H_
6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_SWITCHES_H_ 6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_SWITCHES_H_
7 7
8 #include "ui/message_center/message_center_export.h" 8 #include "ui/message_center/message_center_export.h"
9 9
10 namespace message_center { 10 namespace message_center {
11 namespace switches { 11 namespace switches {
12 12
13 // Disables the new design of message center, which shows each notification as a 13 // Disables the new design of message center, which shows each notification as a
14 // card. 14 // card.
15 // TODO(mukai): Remove this flag when we don't need to provide both of designs 15 // TODO(mukai): Remove this flag when we don't need to provide both of designs
16 // anymore (i.e. the new design becomes default and no one complains about it). 16 // anymore (i.e. the new design becomes default and no one complains about it).
17 // Note that some classes should be removed and renamed as the result of 17 // Note that some classes should be removed and renamed as the result of
18 // removing this class. 18 // removing this class.
19 // Affected class list: 19 // Affected class list:
20 // - WebNotificationButtonView2: remove '2' suffix and replace the old one. 20 // - WebNotificationButtonView2: remove '2' suffix and replace the old one.
21 // - WebNotificationButtonViewBase: merge into WebNotificationButtonView. 21 // - WebNotificationButtonViewBase: merge into WebNotificationButtonView.
22 MESSAGE_CENTER_EXPORT extern const char kDisableNewMessageCenterBubble[]; 22 MESSAGE_CENTER_EXPORT extern const char kDisableNewMessageCenterBubble[];
23 23
24 // Enables rich templated notifications and NotificationCenter.
25 MESSAGE_CENTER_EXPORT extern const char kEnableRichNotifications[];
26
27 // Enables simple notifications with the new templates defined as part of rich
28 // notifications. When kEnableRichNotifications is set those templates will be
29 // used regardless of whether this flag is set, but this flag allows us to get
30 // the new templates even when kEnableRichNotifications is not set. This is
31 // useful for now because the kEnableRichNotifications functionality isn't
32 // complete. TODO(dharcourt): Remove when kEnableRichNotifications is ready.
33 MESSAGE_CENTER_EXPORT extern const char kEnableNewSimpleNotifications[];
34
24 } // namespace switches 35 } // namespace switches
25 } // namespace message_center 36 } // namespace message_center
26 37
27 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_CONSTANTS_H_ 38 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_CONSTANTS_H_
OLDNEW
« 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