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

Unified Diff: ash/wm/power_button_controller.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/wm/power_button_controller.cc
diff --git a/ash/wm/power_button_controller.cc b/ash/wm/power_button_controller.cc
index efbdbca2b2180649ee8dd9810a8860e56200473a..076c2c90fa9ed6f117d2177a8f317f3108037586 100644
--- a/ash/wm/power_button_controller.cc
+++ b/ash/wm/power_button_controller.cc
@@ -13,8 +13,8 @@
#include "ash/system/power/tablet_power_button_controller.h"
#include "ash/system/tray/system_tray.h"
#include "ash/wm/lock_state_controller.h"
-#include "ash/wm/maximize_mode/maximize_mode_controller.h"
#include "ash/wm/session_state_animator.h"
+#include "ash/wm/tablet_mode/tablet_mode_controller.h"
#include "base/command_line.h"
#include "chromeos/audio/cras_audio_handler.h"
#include "chromeos/dbus/dbus_thread_manager.h"
@@ -59,8 +59,8 @@ void PowerButtonController::OnPowerButtonEvent(
bool should_take_screenshot = down && volume_down_pressed_ &&
Shell::Get()
- ->maximize_mode_controller()
- ->IsMaximizeModeWindowManagerEnabled();
+ ->tablet_mode_controller()
+ ->IsTabletModeWindowManagerEnabled();
if (!has_legacy_power_button_ && !should_take_screenshot &&
tablet_controller_ &&

Powered by Google App Engine
This is Rietveld 408576698