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_COMMON_SYSTEM_SYSTEM_NOTIFIER_H_ | 5 #ifndef ASH_COMMON_SYSTEM_SYSTEM_NOTIFIER_H_ |
6 #define ASH_COMMON_SYSTEM_SYSTEM_NOTIFIER_H_ | 6 #define ASH_COMMON_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 17 matching lines...) Expand all Loading... |
28 ASH_EXPORT extern const char kNotifierMultiProfileFirstRun[]; | 28 ASH_EXPORT extern const char kNotifierMultiProfileFirstRun[]; |
29 ASH_EXPORT extern const char kNotifierNetwork[]; | 29 ASH_EXPORT extern const char kNotifierNetwork[]; |
30 ASH_EXPORT extern const char kNotifierNetworkError[]; | 30 ASH_EXPORT extern const char kNotifierNetworkError[]; |
31 ASH_EXPORT extern const char kNotifierNetworkPortalDetector[]; | 31 ASH_EXPORT extern const char kNotifierNetworkPortalDetector[]; |
32 ASH_EXPORT extern const char kNotifierPower[]; | 32 ASH_EXPORT extern const char kNotifierPower[]; |
33 ASH_EXPORT extern const char kNotifierQuickUnlock[]; | 33 ASH_EXPORT extern const char kNotifierQuickUnlock[]; |
34 ASH_EXPORT extern const char kNotifierScreenshot[]; | 34 ASH_EXPORT extern const char kNotifierScreenshot[]; |
35 ASH_EXPORT extern const char kNotifierScreenCapture[]; | 35 ASH_EXPORT extern const char kNotifierScreenCapture[]; |
36 ASH_EXPORT extern const char kNotifierScreenShare[]; | 36 ASH_EXPORT extern const char kNotifierScreenShare[]; |
37 ASH_EXPORT extern const char kNotifierSessionLengthTimeout[]; | 37 ASH_EXPORT extern const char kNotifierSessionLengthTimeout[]; |
| 38 ASH_EXPORT extern const char kNotifierSms[]; |
38 ASH_EXPORT extern const char kNotifierSupervisedUser[]; | 39 ASH_EXPORT extern const char kNotifierSupervisedUser[]; |
39 ASH_EXPORT extern const char kNotifierWebUsb[]; | 40 ASH_EXPORT extern const char kNotifierWebUsb[]; |
40 | 41 |
41 // Returns true if notifications from |notifier_id| should always appear as | 42 // Returns true if notifications from |notifier_id| should always appear as |
42 // popups. "Always appear" means the popups should appear even in login screen, | 43 // popups. "Always appear" means the popups should appear even in login screen, |
43 // lock screen, or fullscreen state. | 44 // lock screen, or fullscreen state. |
44 ASH_EXPORT bool ShouldAlwaysShowPopups( | 45 ASH_EXPORT bool ShouldAlwaysShowPopups( |
45 const message_center::NotifierId& notifier_id); | 46 const message_center::NotifierId& notifier_id); |
46 | 47 |
47 // Returns true if |notifier_id| is the system notifier from Ash. | 48 // Returns true if |notifier_id| is the system notifier from Ash. |
48 ASH_EXPORT bool IsAshSystemNotifier( | 49 ASH_EXPORT bool IsAshSystemNotifier( |
49 const message_center::NotifierId& notifier_id); | 50 const message_center::NotifierId& notifier_id); |
50 | 51 |
51 } // namespace system_notifier | 52 } // namespace system_notifier |
52 } // namespace ash | 53 } // namespace ash |
53 | 54 |
54 #endif // ASH_COMMON_SYSTEM_SYSTEM_NOTIFIER_H_ | 55 #endif // ASH_COMMON_SYSTEM_SYSTEM_NOTIFIER_H_ |
OLD | NEW |