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

Unified Diff: components/exo/wm_helper_ash.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
« no previous file with comments | « components/exo/wm_helper_ash.h ('k') | components/exo/wm_helper_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/wm_helper_ash.cc
diff --git a/components/exo/wm_helper_ash.cc b/components/exo/wm_helper_ash.cc
index 47b45079b6211a8f11329dac2767593f451f2221..e4b96bfd6ba09d42d6235e93ed9f3eceea341209 100644
--- a/components/exo/wm_helper_ash.cc
+++ b/components/exo/wm_helper_ash.cc
@@ -8,7 +8,7 @@
#include "ash/shell.h"
#include "ash/shell_port.h"
#include "ash/system/tray/system_tray_notifier.h"
-#include "ash/wm/tablet_mode/tablet_mode_controller.h"
+#include "ash/wm/maximize_mode/maximize_mode_controller.h"
#include "base/memory/singleton.h"
#include "ui/aura/client/focus_client.h"
#include "ui/display/manager/display_manager.h"
@@ -100,10 +100,10 @@
ash::Shell::Get()->RemovePostTargetHandler(handler);
}
-bool WMHelperAsh::IsTabletModeWindowManagerEnabled() const {
+bool WMHelperAsh::IsMaximizeModeWindowManagerEnabled() const {
return ash::Shell::Get()
- ->tablet_mode_controller()
- ->IsTabletModeWindowManagerEnabled();
+ ->maximize_mode_controller()
+ ->IsMaximizeModeWindowManagerEnabled();
}
void WMHelperAsh::OnWindowActivated(
@@ -126,16 +126,16 @@
NotifyCursorSetChanged(cursor_set);
}
-void WMHelperAsh::OnTabletModeStarted() {
- NotifyTabletModeStarted();
+void WMHelperAsh::OnMaximizeModeStarted() {
+ NotifyMaximizeModeStarted();
}
-void WMHelperAsh::OnTabletModeEnding() {
- NotifyTabletModeEnding();
+void WMHelperAsh::OnMaximizeModeEnding() {
+ NotifyMaximizeModeEnding();
}
-void WMHelperAsh::OnTabletModeEnded() {
- NotifyTabletModeEnded();
+void WMHelperAsh::OnMaximizeModeEnded() {
+ NotifyMaximizeModeEnded();
}
void WMHelperAsh::OnDisplayConfigurationChanged() {
« no previous file with comments | « components/exo/wm_helper_ash.h ('k') | components/exo/wm_helper_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698