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

Unified Diff: trunk/src/ash/wm/maximize_mode/maximize_mode_controller.h

Issue 290563003: Revert 270746 "Suppressed screen rotation notifications triggere..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 months 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: 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);
};
« no previous file with comments | « trunk/src/ash/system/chromeos/tray_display.cc ('k') | trunk/src/ash/wm/maximize_mode/maximize_mode_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698