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

Unified Diff: ash/system/screen_layout_observer.cc

Issue 2906803002: Rename MaximizeMode to TabletMode (Closed)
Patch Set: updated filter Created 3 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: ash/system/screen_layout_observer.cc
diff --git a/ash/system/screen_layout_observer.cc b/ash/system/screen_layout_observer.cc
index ab68c1859d0791050781040408f16b3791cd720e..6a5122a75e5bbd2954b4372722b3548f67e86470 100644
--- a/ash/system/screen_layout_observer.cc
+++ b/ash/system/screen_layout_observer.cc
@@ -19,7 +19,7 @@
#include "ash/system/system_notifier.h"
#include "ash/system/tray/system_tray_controller.h"
#include "ash/system/tray/tray_constants.h"
-#include "ash/wm/maximize_mode/maximize_mode_controller.h"
+#include "ash/wm/tablet_mode/tablet_mode_controller.h"
#include "base/bind.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
@@ -282,8 +282,8 @@ bool ScreenLayoutObserver::GetDisplayMessageForNotification(
}
// c) if the device is in tablet mode, and source is not user.
if (Shell::Get()
- ->maximize_mode_controller()
- ->IsMaximizeModeWindowManagerEnabled() &&
+ ->tablet_mode_controller()
+ ->IsTabletModeWindowManagerEnabled() &&
iter.second.active_rotation_source() !=
display::Display::ROTATION_SOURCE_USER) {
continue;

Powered by Google App Engine
This is Rietveld 408576698