OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 ASH_SYSTEM_SYSTEM_NOTIFIER_H_ | 5 #ifndef ASH_SYSTEM_SYSTEM_NOTIFIER_H_ |
6 #define ASH_SYSTEM_SYSTEM_NOTIFIER_H_ | 6 #define ASH_SYSTEM_SYSTEM_NOTIFIER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 ASH_EXPORT extern const char kNotifierNetworkPortalDetector[]; | 33 ASH_EXPORT extern const char kNotifierNetworkPortalDetector[]; |
34 ASH_EXPORT extern const char kNotifierPinUnlock[]; | 34 ASH_EXPORT extern const char kNotifierPinUnlock[]; |
35 ASH_EXPORT extern const char kNotifierPower[]; | 35 ASH_EXPORT extern const char kNotifierPower[]; |
36 ASH_EXPORT extern const char kNotifierScreenshot[]; | 36 ASH_EXPORT extern const char kNotifierScreenshot[]; |
37 ASH_EXPORT extern const char kNotifierScreenCapture[]; | 37 ASH_EXPORT extern const char kNotifierScreenCapture[]; |
38 ASH_EXPORT extern const char kNotifierScreenShare[]; | 38 ASH_EXPORT extern const char kNotifierScreenShare[]; |
39 ASH_EXPORT extern const char kNotifierSessionLengthTimeout[]; | 39 ASH_EXPORT extern const char kNotifierSessionLengthTimeout[]; |
40 ASH_EXPORT extern const char kNotifierSms[]; | 40 ASH_EXPORT extern const char kNotifierSms[]; |
41 ASH_EXPORT extern const char kNotifierSupervisedUser[]; | 41 ASH_EXPORT extern const char kNotifierSupervisedUser[]; |
42 ASH_EXPORT extern const char kNotifierWebUsb[]; | 42 ASH_EXPORT extern const char kNotifierWebUsb[]; |
| 43 ASH_EXPORT extern const char kNotifierWifiToggle[]; |
43 | 44 |
44 // Returns true if notifications from |notifier_id| should always appear as | 45 // Returns true if notifications from |notifier_id| should always appear as |
45 // popups. "Always appear" means the popups should appear even in login screen, | 46 // popups. "Always appear" means the popups should appear even in login screen, |
46 // lock screen, or fullscreen state. | 47 // lock screen, or fullscreen state. |
47 ASH_EXPORT bool ShouldAlwaysShowPopups( | 48 ASH_EXPORT bool ShouldAlwaysShowPopups( |
48 const message_center::NotifierId& notifier_id); | 49 const message_center::NotifierId& notifier_id); |
49 | 50 |
50 // Returns true if |notifier_id| is the system notifier from Ash. | 51 // Returns true if |notifier_id| is the system notifier from Ash. |
51 ASH_EXPORT bool IsAshSystemNotifier( | 52 ASH_EXPORT bool IsAshSystemNotifier( |
52 const message_center::NotifierId& notifier_id); | 53 const message_center::NotifierId& notifier_id); |
53 | 54 |
54 } // namespace system_notifier | 55 } // namespace system_notifier |
55 } // namespace ash | 56 } // namespace ash |
56 | 57 |
57 #endif // ASH_SYSTEM_SYSTEM_NOTIFIER_H_ | 58 #endif // ASH_SYSTEM_SYSTEM_NOTIFIER_H_ |
OLD | NEW |