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

Unified Diff: ash/mus/bridge/shell_port_mash.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/mus/bridge/shell_port_mash.cc
diff --git a/ash/mus/bridge/shell_port_mash.cc b/ash/mus/bridge/shell_port_mash.cc
index 1ee218f48b7fc6829b43f7302532effa12efd434..61c964633d1219e855f00b432ed5d6a415dc0e67 100644
--- a/ash/mus/bridge/shell_port_mash.cc
+++ b/ash/mus/bridge/shell_port_mash.cc
@@ -40,11 +40,11 @@
#include "ash/virtual_keyboard_controller.h"
#include "ash/wallpaper/wallpaper_delegate.h"
#include "ash/wm/drag_window_resizer.h"
-#include "ash/wm/maximize_mode/maximize_mode_event_handler.h"
-#include "ash/wm/maximize_mode/maximize_mode_event_handler_aura.h"
-#include "ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard.h"
-#include "ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_ozone.h"
#include "ash/wm/mru_window_tracker.h"
+#include "ash/wm/tablet_mode/scoped_disable_internal_mouse_and_keyboard.h"
+#include "ash/wm/tablet_mode/scoped_disable_internal_mouse_and_keyboard_ozone.h"
+#include "ash/wm/tablet_mode/tablet_mode_event_handler.h"
+#include "ash/wm/tablet_mode/tablet_mode_event_handler_aura.h"
#include "ash/wm/window_cycle_event_filter.h"
#include "ash/wm/window_cycle_event_filter_aura.h"
#include "ash/wm/window_resizer.h"
@@ -368,10 +368,10 @@ ShellPortMash::CreateWindowCycleEventFilter() {
return nullptr;
}
-std::unique_ptr<wm::MaximizeModeEventHandler>
-ShellPortMash::CreateMaximizeModeEventHandler() {
+std::unique_ptr<wm::TabletModeEventHandler>
+ShellPortMash::CreateTabletModeEventHandler() {
if (GetAshConfig() == Config::MUS)
- return base::MakeUnique<wm::MaximizeModeEventHandlerAura>();
+ return base::MakeUnique<wm::TabletModeEventHandlerAura>();
// TODO: need support for window manager to get events before client:
// http://crbug.com/624157.

Powered by Google App Engine
This is Rietveld 408576698