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

Unified Diff: ash/accelerators/debug_commands.cc

Issue 2909763002: Revert of Rename MaximizeMode to TabletMode (Closed)
Patch Set: 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 b2130138923267d5a85e8a2e2f1c83f536c6ef33..611ac239060861af793ceeb5c0d71c315370b58d 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/tablet_mode/tablet_mode_controller.h"
+#include "ash/wm/maximize_mode/maximize_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 HandleToggleTouchView() {
- TabletModeController* controller = Shell::Get()->tablet_mode_controller();
- controller->EnableTabletModeWindowManager(
- !controller->IsTabletModeWindowManagerEnabled());
+ MaximizeModeController* controller = Shell::Get()->maximize_mode_controller();
+ controller->EnableMaximizeModeWindowManager(
+ !controller->IsMaximizeModeWindowManagerEnabled());
}
void HandleTriggerCrash() {
« no previous file with comments | « ash/accelerators/accelerator_controller_delegate_aura.cc ('k') | ash/app_list/app_list_presenter_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698