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

Unified Diff: ash/system/system_notifier.cc

Issue 2820443002: ash: Move "CAPS LOCK is on." bubble to the notification center. (Closed)
Patch Set: Address review comments. Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/system_notifier.h ('k') | ash/system/tray_caps_lock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/system_notifier.cc
diff --git a/ash/system/system_notifier.cc b/ash/system/system_notifier.cc
index e0cd646447327851fbb1f07f3c1210a049f82857..9e52f94990f8abf0ebf47758ecb9c6c9c55ac02f 100644
--- a/ash/system/system_notifier.cc
+++ b/ash/system/system_notifier.cc
@@ -28,10 +28,10 @@ const char* kAlwaysShownSystemNotifierIds[] = {
// |kAshSystemNotifiers| is the list of normal system notification sources for
// ash events. These notifications can be hidden in some context.
const char* kAshSystemNotifiers[] = {
- kNotifierBluetooth, kNotifierDisplayResolutionChange, kNotifierDisk,
- kNotifierLocale, kNotifierMultiProfileFirstRun, kNotifierNetwork,
- kNotifierNetworkPortalDetector, kNotifierScreenshot, kNotifierScreenCapture,
- kNotifierScreenShare, kNotifierSessionLengthTimeout,
+ kNotifierBluetooth, kNotifierCapsLock, kNotifierDisplayResolutionChange,
+ kNotifierDisk, kNotifierLocale, kNotifierMultiProfileFirstRun,
+ kNotifierNetwork, kNotifierNetworkPortalDetector, kNotifierScreenshot,
+ kNotifierScreenCapture, kNotifierScreenShare, kNotifierSessionLengthTimeout,
kNotifierSupervisedUser, kNotifierWebUsb, kNotifierSms,
// Note: Order doesn't matter here, so keep this in alphabetic order, don't
// just add your stuff at the end!
@@ -54,6 +54,7 @@ bool MatchSystemNotifierId(const message_center::NotifierId& notifier_id,
const char kNotifierAccessibility[] = "ash.accessibility";
const char kNotifierBattery[] = "ash.battery";
const char kNotifierBluetooth[] = "ash.bluetooth";
+const char kNotifierCapsLock[] = "ash.caps-lock";
const char kNotifierDeprecatedAccelerator[] = "ash.accelerator-controller";
const char kNotifierDisk[] = "ash.disk";
const char kNotifierDisplay[] = "ash.display";
« no previous file with comments | « ash/system/system_notifier.h ('k') | ash/system/tray_caps_lock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698