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

Unified Diff: ash/system/rotation/tray_rotation_lock.h

Issue 2846883006: cros: Update rotation lock UI (Closed)
Patch Set: cleanup tests 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
Index: ash/system/rotation/tray_rotation_lock.h
diff --git a/ash/system/rotation/tray_rotation_lock.h b/ash/system/rotation/tray_rotation_lock.h
index c1b3617fbe69432490634cc8ce48416a51cbbd96..1dbe7a7fc3816eaf294df2e05f39cf675258e9fa 100644
--- a/ash/system/rotation/tray_rotation_lock.h
+++ b/ash/system/rotation/tray_rotation_lock.h
@@ -45,8 +45,10 @@ class ASH_EXPORT TrayRotationLock
private:
friend class TrayRotationLockTest;
- // True if |on_primary_display_|, maximize mode is enabled, and rotation is
- // locked.
+ // Update tray image based on whether user rotation lock is enabled.
+ void UpdateTrayImage();
+
+ // True if |on_primary_display_|, maximize mode is enabled.
bool ShouldBeVisible();
// True if this is owned by a SystemTray on the primary display.
« no previous file with comments | « ash/resources/vector_icons/system_tray_rotation_lock_locked.1x.icon ('k') | ash/system/rotation/tray_rotation_lock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698