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

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

Issue 2583393002: Send notification to users upon receiving sms messages (Closed)
Patch Set: update return type Created 3 years, 10 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
« no previous file with comments | « ash/common/system/status_area_widget.cc ('k') | ash/common/system/system_notifier.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 17 matching lines...) Expand all
28 ASH_EXPORT extern const char kNotifierMultiProfileFirstRun[]; 28 ASH_EXPORT extern const char kNotifierMultiProfileFirstRun[];
29 ASH_EXPORT extern const char kNotifierNetwork[]; 29 ASH_EXPORT extern const char kNotifierNetwork[];
30 ASH_EXPORT extern const char kNotifierNetworkError[]; 30 ASH_EXPORT extern const char kNotifierNetworkError[];
31 ASH_EXPORT extern const char kNotifierNetworkPortalDetector[]; 31 ASH_EXPORT extern const char kNotifierNetworkPortalDetector[];
32 ASH_EXPORT extern const char kNotifierPower[]; 32 ASH_EXPORT extern const char kNotifierPower[];
33 ASH_EXPORT extern const char kNotifierQuickUnlock[]; 33 ASH_EXPORT extern const char kNotifierQuickUnlock[];
34 ASH_EXPORT extern const char kNotifierScreenshot[]; 34 ASH_EXPORT extern const char kNotifierScreenshot[];
35 ASH_EXPORT extern const char kNotifierScreenCapture[]; 35 ASH_EXPORT extern const char kNotifierScreenCapture[];
36 ASH_EXPORT extern const char kNotifierScreenShare[]; 36 ASH_EXPORT extern const char kNotifierScreenShare[];
37 ASH_EXPORT extern const char kNotifierSessionLengthTimeout[]; 37 ASH_EXPORT extern const char kNotifierSessionLengthTimeout[];
38 ASH_EXPORT extern const char kNotifierSms[];
38 ASH_EXPORT extern const char kNotifierSupervisedUser[]; 39 ASH_EXPORT extern const char kNotifierSupervisedUser[];
39 ASH_EXPORT extern const char kNotifierWebUsb[]; 40 ASH_EXPORT extern const char kNotifierWebUsb[];
40 41
41 // Returns true if notifications from |notifier_id| should always appear as 42 // Returns true if notifications from |notifier_id| should always appear as
42 // popups. "Always appear" means the popups should appear even in login screen, 43 // popups. "Always appear" means the popups should appear even in login screen,
43 // lock screen, or fullscreen state. 44 // lock screen, or fullscreen state.
44 ASH_EXPORT bool ShouldAlwaysShowPopups( 45 ASH_EXPORT bool ShouldAlwaysShowPopups(
45 const message_center::NotifierId& notifier_id); 46 const message_center::NotifierId& notifier_id);
46 47
47 // Returns true if |notifier_id| is the system notifier from Ash. 48 // Returns true if |notifier_id| is the system notifier from Ash.
48 ASH_EXPORT bool IsAshSystemNotifier( 49 ASH_EXPORT bool IsAshSystemNotifier(
49 const message_center::NotifierId& notifier_id); 50 const message_center::NotifierId& notifier_id);
50 51
51 } // namespace system_notifier 52 } // namespace system_notifier
52 } // namespace ash 53 } // namespace ash
53 54
54 #endif // ASH_COMMON_SYSTEM_SYSTEM_NOTIFIER_H_ 55 #endif // ASH_COMMON_SYSTEM_SYSTEM_NOTIFIER_H_
OLDNEW
« no previous file with comments | « ash/common/system/status_area_widget.cc ('k') | ash/common/system/system_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698