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

Unified Diff: components/mus/example/wm/window_manager_impl.h

Issue 1414943003: Moves move logic into WM instead of WS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile Created 5 years, 2 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: components/mus/example/wm/window_manager_impl.h
diff --git a/components/mus/example/wm/window_manager_impl.h b/components/mus/example/wm/window_manager_impl.h
index 9edd5dbb1fabca2b65e9aecab0438c9dbf0d826c..2610599c73eeac89c19213430b2a33d714740fba 100644
--- a/components/mus/example/wm/window_manager_impl.h
+++ b/components/mus/example/wm/window_manager_impl.h
@@ -12,6 +12,7 @@
#include "components/mus/public/cpp/window_observer.h"
#include "components/mus/public/interfaces/window_manager.mojom.h"
+class MoveLoop;
class WindowManagerApplication;
using WindowManagerErrorCodeCallback =
@@ -38,7 +39,13 @@ class WindowManagerImpl : public mus::mojom::WindowManager,
const WindowManagerErrorCodeCallback& callback) override;
void GetDisplays(const GetDisplaysCallback& callback) override;
+ // mus::WindowObserver:
+ void OnWindowDestroyed(mus::Window* window) override;
+ void OnWindowInputEvent(mus::Window* window,
+ const mojo::EventPtr& event) override;
+
WindowManagerApplication* state_;
+ scoped_ptr<MoveLoop> move_loop_;
DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl);
};
« no previous file with comments | « components/mus/example/wm/window_manager_application.cc ('k') | components/mus/example/wm/window_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698