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