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

Unified Diff: ash/mus/bridge/wm_shell_mus.cc

Issue 2106823004: Refactors maximize mode event handling into its own class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 4 years, 6 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/wm_shell_mus.cc
diff --git a/ash/mus/bridge/wm_shell_mus.cc b/ash/mus/bridge/wm_shell_mus.cc
index 35d736110fbaf25a40e2a89ca0911d39ed4d0eb1..4660fd34f34d4386a45133a6726aa2894da77559 100644
--- a/ash/mus/bridge/wm_shell_mus.cc
+++ b/ash/mus/bridge/wm_shell_mus.cc
@@ -10,6 +10,7 @@
#include "ash/common/shell_observer.h"
#include "ash/common/shell_window_ids.h"
#include "ash/common/system/tray/default_system_tray_delegate.h"
+#include "ash/common/wm/maximize_mode/maximize_mode_event_handler.h"
#include "ash/common/wm/mru_window_tracker.h"
#include "ash/common/wm/window_resizer.h"
#include "ash/common/wm_activation_observer.h"
@@ -230,6 +231,14 @@ std::unique_ptr<WindowResizer> WmShellMus::CreateDragWindowResizer(
new DragWindowResizer(std::move(next_window_resizer), window_state));
}
+std::unique_ptr<wm::MaximizeModeEventHandler>
+WmShellMus::CreateMaximizeModeEventHandler() {
+ // TODO: need support for window manager to get events before client:
+ // http://crbug.com/624157.
+ NOTIMPLEMENTED();
+ return nullptr;
+}
+
void WmShellMus::OnOverviewModeStarting() {
FOR_EACH_OBSERVER(ShellObserver, *wm_shell_common_->shell_observers(),
OnOverviewModeStarting());

Powered by Google App Engine
This is Rietveld 408576698