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

Side by Side Diff: ui/message_center/message_center_util.h

Issue 231723006: Remove balloon notification code. The last user was the Linux GTK port but that's deleted now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync after elliot's r263101 Created 6 years, 8 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 | « ui/message_center/dummy_message_center.cc ('k') | ui/message_center/message_center_util.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) 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();
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_AURA) || defined(OS_MACOSX)
17 #define RUN_MESSAGE_CENTER_TESTS 1
18 #endif
19
20 enum MessageCenterShowState { 12 enum MessageCenterShowState {
21 MESSAGE_CENTER_SHOW_NEVER = 0, 13 MESSAGE_CENTER_SHOW_NEVER = 0,
22 MESSAGE_CENTER_SHOW_UNREAD, 14 MESSAGE_CENTER_SHOW_UNREAD,
23 MESSAGE_CENTER_SHOW_AFTER_FIRST, 15 MESSAGE_CENTER_SHOW_AFTER_FIRST,
24 MESSAGE_CENTER_SHOW_ALWAYS 16 MESSAGE_CENTER_SHOW_ALWAYS
25 }; 17 };
26 18
27 MESSAGE_CENTER_EXPORT MessageCenterShowState GetMessageCenterShowState(); 19 MESSAGE_CENTER_EXPORT MessageCenterShowState GetMessageCenterShowState();
28 20
29 } // namespace message_center 21 } // namespace message_center
30 22
31 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_UTIL_H_ 23 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_UTIL_H_
OLDNEW
« no previous file with comments | « ui/message_center/dummy_message_center.cc ('k') | ui/message_center/message_center_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698