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

Side by Side Diff: ash/common/system/system_notifier.h

Issue 2128053002: Implements the feature notification for Quick Unlock (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Implements the feature notification for Quick Unlock Created 4 years, 5 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
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698