| Index: ash/wm/maximize_mode/maximize_mode_controller.h
|
| diff --git a/ash/wm/maximize_mode/maximize_mode_controller.h b/ash/wm/maximize_mode/maximize_mode_controller.h
|
| index f96cfd2ca811030754ab973b827913af3f0b3e7e..4d3e6af086407bbc5a397598bc88d9c91f495d2e 100644
|
| --- a/ash/wm/maximize_mode/maximize_mode_controller.h
|
| +++ b/ash/wm/maximize_mode/maximize_mode_controller.h
|
| @@ -76,6 +76,11 @@ class ASH_EXPORT MaximizeModeController
|
| // change the display rotation.
|
| void SetRotationLocked(bool rotation_locked);
|
|
|
| + // Sets the display rotation to |rotation| and prevents future calls to
|
| + // OnAccelerometerUpdated from changing the rotation. SetRotationLocked(false)
|
| + // removes the rotation lock.
|
| + void LockRotation(gfx::Display::Rotation rotation);
|
| +
|
| // Add/Remove observers.
|
| void AddObserver(Observer* observer);
|
| void RemoveObserver(Observer* observer);
|
|
|