Index: trunk/src/ash/wm/maximize_mode/maximize_mode_controller.h |
=================================================================== |
--- trunk/src/ash/wm/maximize_mode/maximize_mode_controller.h (revision 270792) |
+++ trunk/src/ash/wm/maximize_mode/maximize_mode_controller.h (working copy) |
@@ -7,7 +7,6 @@ |
#include "ash/accelerometer/accelerometer_observer.h" |
#include "ash/ash_export.h" |
-#include "ash/display/display_manager.h" |
#include "base/macros.h" |
#include "base/memory/scoped_ptr.h" |
@@ -27,10 +26,6 @@ |
MaximizeModeController(); |
virtual ~MaximizeModeController(); |
- bool in_set_screen_rotation() const { |
- return in_set_screen_rotation_; |
- } |
- |
// True if |rotation_lock_| has been set, and OnAccelerometerUpdated will not |
// change the display rotation. |
bool rotation_locked() { |
@@ -62,10 +57,6 @@ |
// screen. |
void HandleScreenRotation(const gfx::Vector3dF& lid); |
- // Sets the display rotation and suppresses display notifications. |
- void SetDisplayRotation(DisplayManager* display_manager, |
- gfx::Display::Rotation rotation); |
- |
// An event targeter controller which traps mouse and keyboard events while |
// maximize mode is engaged. |
scoped_ptr<MaximizeModeEventBlocker> event_blocker_; |
@@ -79,9 +70,6 @@ |
// Whether we have ever seen accelerometer data. |
bool have_seen_accelerometer_data_; |
- // True when the screen's orientation is being changed. |
- bool in_set_screen_rotation_; |
- |
DISALLOW_COPY_AND_ASSIGN(MaximizeModeController); |
}; |