| 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 9c53e6ed268cd80c9e37f95438a7bb1eee957b4f..1d4949c7ed14048951df38372f32b09c1a5d73fe 100644
|
| --- a/ash/system/chromeos/rotation/tray_rotation_lock.h
|
| +++ b/ash/system/chromeos/rotation/tray_rotation_lock.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "ash/shell_observer.h"
|
| #include "ash/system/tray/tray_image_item.h"
|
| +#include "ash/wm/maximize_mode/maximize_mode_controller.h"
|
|
|
| namespace ash {
|
|
|
| @@ -20,11 +21,15 @@ 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 ShellObserver {
|
| public:
|
| explicit TrayRotationLock(SystemTray* system_tray);
|
| virtual ~TrayRotationLock();
|
|
|
| + // MaximizeModeController::Observer:
|
| + virtual void OnRotationLockChanged() OVERRIDE;
|
| +
|
| // SystemTrayItem:
|
| virtual views::View* CreateDefaultView(user::LoginStatus status) OVERRIDE;
|
|
|
|
|