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: |