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
3 // found in the LICENSE file.
5 #ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_UTIL_H_
6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_UTIL_H_
8 #include "ui/message_center/message_center_export.h"
10 namespace message_center
{
12 MESSAGE_CENTER_EXPORT
bool IsRichNotificationEnabled();
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_AURA) || defined(OS_MACOSX)
17 #define RUN_MESSAGE_CENTER_TESTS 1
20 MESSAGE_CENTER_EXPORT
bool IsExperimentalNotificationUIEnabled();
22 enum MessageCenterShowState
{
23 MESSAGE_CENTER_SHOW_NEVER
= 0,
24 MESSAGE_CENTER_SHOW_UNREAD
,
25 MESSAGE_CENTER_SHOW_AFTER_FIRST
,
26 MESSAGE_CENTER_SHOW_ALWAYS
29 MESSAGE_CENTER_EXPORT MessageCenterShowState
GetMessageCenterShowState();
31 } // namespace message_center
33 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_UTIL_H_