Updating type of offline page item title to base::string16
[chromium-blink-merge.git] / ash / system / system_notifier.h
blob540f3281ec8cbd32e464a8af17651d5387b896da
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.
5 #ifndef ASH_SYSTEM_SYSTEM_NOTIFIER_H_
6 #define ASH_SYSTEM_SYSTEM_NOTIFIER_H_
8 #include <string>
10 #include "ash/ash_export.h"
11 #include "ui/message_center/notifier_settings.h"
13 namespace ash {
14 namespace system_notifier {
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 kNotifierDisplay[];
20 ASH_EXPORT extern const char kNotifierDisplayResolutionChange[];
21 ASH_EXPORT extern const char kNotifierDisplayError[];
22 ASH_EXPORT extern const char kNotifierLocale[];
23 ASH_EXPORT extern const char kNotifierMultiProfileFirstRun[];
24 ASH_EXPORT extern const char kNotifierNetwork[];
25 ASH_EXPORT extern const char kNotifierNetworkError[];
26 ASH_EXPORT extern const char kNotifierNetworkPortalDetector[];
27 ASH_EXPORT extern const char kNotifierOobeScreen[];
28 ASH_EXPORT extern const char kNotifierPower[];
29 ASH_EXPORT extern const char kNotifierScreenshot[];
30 ASH_EXPORT extern const char kNotifierScreenCapture[];
31 ASH_EXPORT extern const char kNotifierScreenShare[];
32 ASH_EXPORT extern const char kNotifierSessionLengthTimeout[];
33 ASH_EXPORT extern const char kNotifierSupervisedUser[];
35 // Returns true if notifications from |notifier_id| should always appear as
36 // popups. "Always appear" means the popups should appear even in login screen,
37 // lock screen, or fullscreen state.
38 ASH_EXPORT bool ShouldAlwaysShowPopups(
39 const message_center::NotifierId& notifier_id);
41 // Returns true if |notifier_id| is the system notifier from Ash.
42 ASH_EXPORT bool IsAshSystemNotifier(
43 const message_center::NotifierId& notifier_id);
45 } // namespace system_notifier
46 } // namespace ash
48 #endif // ASH_SYSTEM_SYSTEM_NOTIFIER_H_