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

Unified Diff: ash/accelerators/debug_commands.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/accelerators/debug_commands.cc
diff --git a/ash/accelerators/debug_commands.cc b/ash/accelerators/debug_commands.cc
index 611ac239060861af793ceeb5c0d71c315370b58d..b2130138923267d5a85e8a2e2f1c83f536c6ef33 100644
--- a/ash/accelerators/debug_commands.cc
+++ b/ash/accelerators/debug_commands.cc
@@ -13,7 +13,7 @@
#include "ash/system/toast/toast_manager.h"
#include "ash/wallpaper/wallpaper_controller.h"
#include "ash/wallpaper/wallpaper_delegate.h"
-#include "ash/wm/maximize_mode/maximize_mode_controller.h"
+#include "ash/wm/tablet_mode/tablet_mode_controller.h"
#include "ash/wm/widget_finder.h"
#include "ash/wm/window_properties.h"
#include "ash/wm/window_util.h"
@@ -146,9 +146,9 @@ void HandleToggleTouchscreen() {
}
void HandleToggleTouchView() {
- MaximizeModeController* controller = Shell::Get()->maximize_mode_controller();
- controller->EnableMaximizeModeWindowManager(
- !controller->IsMaximizeModeWindowManagerEnabled());
+ TabletModeController* controller = Shell::Get()->tablet_mode_controller();
+ controller->EnableTabletModeWindowManager(
+ !controller->IsTabletModeWindowManagerEnabled());
}
void HandleTriggerCrash() {

Powered by Google App Engine
This is Rietveld 408576698