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

Unified Diff: ash/display/screen_orientation_controller_chromeos.cc

Issue 2811153002: Restore bounds after the screen is restored in clamshell (Closed)
Patch Set: Restore bounds after completely transitioned to clamshell. Created 3 years, 8 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: ash/display/screen_orientation_controller_chromeos.cc
diff --git a/ash/display/screen_orientation_controller_chromeos.cc b/ash/display/screen_orientation_controller_chromeos.cc
index 4eb17403528ec5080530c06c01f4ddbaa98adbb0..0040a539fb67c6065bcc9f085cb9ea10dc129b29 100644
--- a/ash/display/screen_orientation_controller_chromeos.cc
+++ b/ash/display/screen_orientation_controller_chromeos.cc
@@ -326,7 +326,7 @@ void ScreenOrientationController::OnMaximizeModeStarted() {
observer.OnUserRotationLockChanged();
}
-void ScreenOrientationController::OnMaximizeModeEnded() {
+void ScreenOrientationController::OnMaximizeModeEnding() {
chromeos::AccelerometerReader::GetInstance()->RemoveObserver(this);
ShellPort::Get()->RemoveDisplayObserver(this);
if (!display::Display::HasInternalDisplay())
« no previous file with comments | « ash/display/screen_orientation_controller_chromeos.h ('k') | ash/wm/maximize_mode/maximize_mode_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698