OLD | NEW |
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_ |
OLD | NEW |