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

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

Issue 2193913002: Added Ash.SystemMenu.DefaultView.VisibleRows histogram. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Merge remote-tracking branch 'refs/remotes/branch-heads/2785' into drover_2785 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 de244ff7cee6ce8a8b75890bdaba2bc0741d8fa1..c657d12db294321f3b30140750b79d95e33fc5be 100644
--- a/ash/system/chromeos/rotation/tray_rotation_lock.cc
+++ b/ash/system/chromeos/rotation/tray_rotation_lock.cc
@@ -96,7 +96,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,
+ UMA_ROTATION_LOCK),
observing_rotation_(false),
observing_shell_(true) {
WmShell::Get()->AddShellObserver(this);

Powered by Google App Engine
This is Rietveld 408576698