OLD | NEW |
| (Empty) |
1 // Copyright 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. | |
4 | |
5 #ifndef ASH_COMMON_SYSTEM_SYSTEM_NOTIFIER_H_ | |
6 #define ASH_COMMON_SYSTEM_SYSTEM_NOTIFIER_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "ash/ash_export.h" | |
11 #include "ui/message_center/notifier_settings.h" | |
12 | |
13 namespace ash { | |
14 namespace system_notifier { | |
15 | |
16 // The list of ash system notifier IDs. Alphabetical order. | |
17 ASH_EXPORT extern const char kNotifierAccessibility[]; | |
18 ASH_EXPORT extern const char kNotifierBattery[]; | |
19 ASH_EXPORT extern const char kNotifierBluetooth[]; | |
20 ASH_EXPORT extern const char kNotifierDeprecatedAccelerator[]; | |
21 ASH_EXPORT extern const char kNotifierDisk[]; | |
22 ASH_EXPORT extern const char kNotifierDisplay[]; | |
23 ASH_EXPORT extern const char kNotifierDisplayResolutionChange[]; | |
24 ASH_EXPORT extern const char kNotifierDisplayError[]; | |
25 ASH_EXPORT extern const char kNotifierDualRole[]; | |
26 ASH_EXPORT extern const char kNotifierHats[]; | |
27 ASH_EXPORT extern const char kNotifierLocale[]; | |
28 ASH_EXPORT extern const char kNotifierMultiProfileFirstRun[]; | |
29 ASH_EXPORT extern const char kNotifierNetwork[]; | |
30 ASH_EXPORT extern const char kNotifierNetworkError[]; | |
31 ASH_EXPORT extern const char kNotifierNetworkPortalDetector[]; | |
32 ASH_EXPORT extern const char kNotifierPower[]; | |
33 ASH_EXPORT extern const char kNotifierQuickUnlock[]; | |
34 ASH_EXPORT extern const char kNotifierScreenshot[]; | |
35 ASH_EXPORT extern const char kNotifierScreenCapture[]; | |
36 ASH_EXPORT extern const char kNotifierScreenShare[]; | |
37 ASH_EXPORT extern const char kNotifierSessionLengthTimeout[]; | |
38 ASH_EXPORT extern const char kNotifierSms[]; | |
39 ASH_EXPORT extern const char kNotifierSupervisedUser[]; | |
40 ASH_EXPORT extern const char kNotifierWebUsb[]; | |
41 | |
42 // Returns true if notifications from |notifier_id| should always appear as | |
43 // popups. "Always appear" means the popups should appear even in login screen, | |
44 // lock screen, or fullscreen state. | |
45 ASH_EXPORT bool ShouldAlwaysShowPopups( | |
46 const message_center::NotifierId& notifier_id); | |
47 | |
48 // Returns true if |notifier_id| is the system notifier from Ash. | |
49 ASH_EXPORT bool IsAshSystemNotifier( | |
50 const message_center::NotifierId& notifier_id); | |
51 | |
52 } // namespace system_notifier | |
53 } // namespace ash | |
54 | |
55 #endif // ASH_COMMON_SYSTEM_SYSTEM_NOTIFIER_H_ | |
OLD | NEW |