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

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

Issue 759063002: Move Screen Rotation from MaximizeModeController to ScreenOrientationController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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.h
diff --git a/ash/system/chromeos/rotation/tray_rotation_lock.h b/ash/system/chromeos/rotation/tray_rotation_lock.h
index f4f4fdeb4887ecc9ade556af300bb977687660c1..434e8aa14b7cfd571a729137f2b2c9b3c1d289b6 100644
--- a/ash/system/chromeos/rotation/tray_rotation_lock.h
+++ b/ash/system/chromeos/rotation/tray_rotation_lock.h
@@ -5,9 +5,9 @@
#ifndef ASH_SYSTEM_CHROMEOS_ROTATION_TRAY_ROTATION_LOCK_H_
#define ASH_SYSTEM_CHROMEOS_ROTATION_TRAY_ROTATION_LOCK_H_
+#include "ash/content/display/screen_orientation_delegate_chromeos.h"
#include "ash/shell_observer.h"
#include "ash/system/tray/tray_image_item.h"
-#include "ash/wm/maximize_mode/maximize_mode_controller.h"
namespace ash {
@@ -21,13 +21,13 @@ class RotationLockDefaultView;
// be interacted with, it toggles the state of the rotation lock.
// TrayRotationLock is only available on the primary display.
class ASH_EXPORT TrayRotationLock : public TrayImageItem,
- public MaximizeModeController::Observer,
+ public ScreenOrientationDelegate::Observer,
public ShellObserver {
public:
explicit TrayRotationLock(SystemTray* system_tray);
virtual ~TrayRotationLock();
- // MaximizeModeController::Observer:
+ // ScreenOrientationDelegate::Observer:
virtual void OnRotationLockChanged(bool rotation_locked) override;
// SystemTrayItem:

Powered by Google App Engine
This is Rietveld 408576698