| 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 "build/build_config.h" |
| 8 #include "ui/message_center/message_center_export.h" | 9 #include "ui/message_center/message_center_export.h" |
| 9 | 10 |
| 10 namespace message_center { | 11 #ifdef ENABLE_FAST_COMMAND_LINE_SWITCHES |
| 12 |
| 13 namespace { |
| 14 #include "ui/message_center/message_center_switches.cc" |
| 15 } |
| 16 |
| 17 #else |
| 18 |
| 11 namespace switches { | 19 namespace switches { |
| 12 | 20 |
| 13 // Enables rich templated notifications and NotificationCenter. In ChromeOS, | 21 // Enables rich templated notifications and NotificationCenter. In ChromeOS, |
| 14 // this flag also means the new design of message center bubble and popups. | 22 // this flag also means the new design of message center bubble and popups. |
| 15 // TODO(mukai): Remove this flag when we don't need to provide both of designs | 23 // 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). | 24 // 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 | 25 // Note that some classes should be removed and renamed as the result of |
| 18 // removing this class. | 26 // removing this class. |
| 19 // Affected class list: | 27 // Affected class list: |
| 20 // - WebNotificationButtonView2: remove '2' suffix and replace the old one. | 28 // - WebNotificationButtonView2: remove '2' suffix and replace the old one. |
| 21 // - WebNotificationButtonViewBase: merge into WebNotificationButtonView. | 29 // - WebNotificationButtonViewBase: merge into WebNotificationButtonView. |
| 22 MESSAGE_CENTER_EXPORT extern const char kEnableRichNotifications[]; | 30 MESSAGE_CENTER_EXPORT extern const char kEnableRichNotifications[]; |
| 23 MESSAGE_CENTER_EXPORT extern const char kDisableRichNotifications[]; | 31 MESSAGE_CENTER_EXPORT extern const char kDisableRichNotifications[]; |
| 24 | 32 |
| 25 } // namespace switches | 33 } // namespace switches |
| 26 } // namespace message_center | |
| 27 | 34 |
| 35 #endif // ENABLE_FAST_COMMAND_LINE_SWITCHES |
| 28 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_CONSTANTS_H_ | 36 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_CONSTANTS_H_ |
| OLD | NEW |