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

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

Issue 2072013002: mash: Move tray settings and deps to common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo 'git cl format' and nullptr changes. Created 4 years, 6 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
(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_SYSTEM_SYSTEM_NOTIFIER_H_
6 #define ASH_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 kNotifierBattery[];
18 ASH_EXPORT extern const char kNotifierBluetooth[];
19 ASH_EXPORT extern const char kNotifierDeprecatedAccelerator[];
20 ASH_EXPORT extern const char kNotifierDisplay[];
21 ASH_EXPORT extern const char kNotifierDisplayResolutionChange[];
22 ASH_EXPORT extern const char kNotifierDisplayError[];
23 ASH_EXPORT extern const char kNotifierDualRole[];
24 ASH_EXPORT extern const char kNotifierHats[];
25 ASH_EXPORT extern const char kNotifierLocale[];
26 ASH_EXPORT extern const char kNotifierMultiProfileFirstRun[];
27 ASH_EXPORT extern const char kNotifierNetwork[];
28 ASH_EXPORT extern const char kNotifierNetworkError[];
29 ASH_EXPORT extern const char kNotifierNetworkPortalDetector[];
30 ASH_EXPORT extern const char kNotifierPower[];
31 ASH_EXPORT extern const char kNotifierScreenshot[];
32 ASH_EXPORT extern const char kNotifierScreenCapture[];
33 ASH_EXPORT extern const char kNotifierScreenShare[];
34 ASH_EXPORT extern const char kNotifierSessionLengthTimeout[];
35 ASH_EXPORT extern const char kNotifierSupervisedUser[];
36 ASH_EXPORT extern const char kNotifierWebUsb[];
37
38 // Returns true if notifications from |notifier_id| should always appear as
39 // popups. "Always appear" means the popups should appear even in login screen,
40 // lock screen, or fullscreen state.
41 ASH_EXPORT bool ShouldAlwaysShowPopups(
42 const message_center::NotifierId& notifier_id);
43
44 // Returns true if |notifier_id| is the system notifier from Ash.
45 ASH_EXPORT bool IsAshSystemNotifier(
46 const message_center::NotifierId& notifier_id);
47
48 } // namespace system_notifier
49 } // namespace ash
50
51 #endif // ASH_SYSTEM_SYSTEM_NOTIFIER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698