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

Unified Diff: ash/system/chromeos/rotation/tray_rotation_lock.cc

Issue 2162153002: Added Ash.SystemMenu.DefaultView.VisibleItems histogram. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed ash_unittests compile errors. Created 4 years, 5 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
Index: ash/system/chromeos/rotation/tray_rotation_lock.cc
diff --git a/ash/system/chromeos/rotation/tray_rotation_lock.cc b/ash/system/chromeos/rotation/tray_rotation_lock.cc
index ffc129006a7b7f9140df4e888882d1dfe5b09e41..1ce0e861d9399378b6345e6b527eefeaa8fd360c 100644
--- a/ash/system/chromeos/rotation/tray_rotation_lock.cc
+++ b/ash/system/chromeos/rotation/tray_rotation_lock.cc
@@ -105,7 +105,9 @@ void RotationLockDefaultView::UpdateImage() {
} // namespace tray
TrayRotationLock::TrayRotationLock(SystemTray* system_tray)
- : TrayImageItem(system_tray, IDR_AURA_UBER_TRAY_AUTO_ROTATION_LOCKED),
+ : TrayImageItem(system_tray,
+ IDR_AURA_UBER_TRAY_AUTO_ROTATION_LOCKED,
+ ROTATION_LOCK),
observing_rotation_(false),
observing_shell_(true) {
WmShell::Get()->AddShellObserver(this);

Powered by Google App Engine
This is Rietveld 408576698