OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_UTIL_H_ | 5 #ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_UTIL_H_ |
6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_UTIL_H_ | 6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_UTIL_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 | 11 |
12 MESSAGE_CENTER_EXPORT bool IsRichNotificationEnabled(); | 12 MESSAGE_CENTER_EXPORT bool IsRichNotificationEnabled(); |
13 | 13 |
| 14 // If Rich Notificaitons are enabled by default on a platform, run the |
| 15 // corresponding tests on that platform. |
| 16 #if defined(OS_WIN) || defined(USE_ASH) |
| 17 #define RUN_MESSAGE_CENTER_TESTS 1 |
| 18 #endif |
| 19 |
14 } // namespace message_center | 20 } // namespace message_center |
15 | 21 |
16 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_UTIL_H_ | 22 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_UTIL_H_ |
OLD | NEW |