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

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

Issue 183853010: Bluetooth: notify user of incoming pairing requests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fit nits, add unit tests dep Created 6 years, 9 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_SYSTEM_SYSTEM_NOTIFIER_H_ 5 #ifndef ASH_SYSTEM_SYSTEM_NOTIFIER_H_
6 #define ASH_SYSTEM_SYSTEM_NOTIFIER_H_ 6 #define ASH_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 10 matching lines...) Expand all
21 ASH_EXPORT extern const char kNotifierLocallyManagedUser[]; 21 ASH_EXPORT extern const char kNotifierLocallyManagedUser[];
22 ASH_EXPORT extern const char kNotifierMultiProfileFirstRun[]; 22 ASH_EXPORT extern const char kNotifierMultiProfileFirstRun[];
23 ASH_EXPORT extern const char kNotifierNetwork[]; 23 ASH_EXPORT extern const char kNotifierNetwork[];
24 ASH_EXPORT extern const char kNotifierNetworkError[]; 24 ASH_EXPORT extern const char kNotifierNetworkError[];
25 ASH_EXPORT extern const char kNotifierNetworkPortalDetector[]; 25 ASH_EXPORT extern const char kNotifierNetworkPortalDetector[];
26 ASH_EXPORT extern const char kNotifierScreenshot[]; 26 ASH_EXPORT extern const char kNotifierScreenshot[];
27 ASH_EXPORT extern const char kNotifierScreenCapture[]; 27 ASH_EXPORT extern const char kNotifierScreenCapture[];
28 ASH_EXPORT extern const char kNotifierScreenShare[]; 28 ASH_EXPORT extern const char kNotifierScreenShare[];
29 ASH_EXPORT extern const char kNotifierSessionLengthTimeout[]; 29 ASH_EXPORT extern const char kNotifierSessionLengthTimeout[];
30 ASH_EXPORT extern const char kNotifierPower[]; 30 ASH_EXPORT extern const char kNotifierPower[];
31 ASH_EXPORT extern const char kNotifierBluetooth[];
31 32
32 // Returns true if notifications from |notifier_id| should always appear as 33 // Returns true if notifications from |notifier_id| should always appear as
33 // popups. "Always appear" means the popups should appear even in login screen, 34 // popups. "Always appear" means the popups should appear even in login screen,
34 // lock screen, or fullscreen state. 35 // lock screen, or fullscreen state.
35 ASH_EXPORT bool ShouldAlwaysShowPopups( 36 ASH_EXPORT bool ShouldAlwaysShowPopups(
36 const message_center::NotifierId& notifier_id); 37 const message_center::NotifierId& notifier_id);
37 38
38 // Returns true if |notifier_id| is the system notifier from Ash. 39 // Returns true if |notifier_id| is the system notifier from Ash.
39 ASH_EXPORT bool IsAshSystemNotifier( 40 ASH_EXPORT bool IsAshSystemNotifier(
40 const message_center::NotifierId& notifier_id); 41 const message_center::NotifierId& notifier_id);
41 42
42 } // namespace system_notifier 43 } // namespace system_notifier
43 } // namespace ash 44 } // namespace ash
44 45
45 #endif // ASH_SYSTEM_SYSTEM_NOTIFIER_H_ 46 #endif // ASH_SYSTEM_SYSTEM_NOTIFIER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698