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

Unified Diff: mash/wm/shadow_controller.h

Issue 2018823002: Eliminate WindowTreeConnection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@connection
Patch Set: . Created 4 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 | « mash/wm/root_window_controller.cc ('k') | mash/wm/shadow_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/shadow_controller.h
diff --git a/mash/wm/shadow_controller.h b/mash/wm/shadow_controller.h
index d685d50be43048b9365372dc6eca471ff60aacb6..c513fbefcbb8e2f246a463ea20497fc7ddf3e21c 100644
--- a/mash/wm/shadow_controller.h
+++ b/mash/wm/shadow_controller.h
@@ -7,32 +7,32 @@
#include "base/macros.h"
#include "components/mus/public/cpp/window_observer.h"
-#include "components/mus/public/cpp/window_tree_connection_observer.h"
+#include "components/mus/public/cpp/window_tree_client_observer.h"
namespace mus {
-class WindowTreeConnection;
+class WindowTreeClient;
}
namespace mash {
namespace wm {
-class ShadowController : public mus::WindowTreeConnectionObserver,
+class ShadowController : public mus::WindowTreeClientObserver,
public mus::WindowObserver {
public:
- explicit ShadowController(mus::WindowTreeConnection* window_tree);
+ explicit ShadowController(mus::WindowTreeClient* window_tree);
~ShadowController() override;
private:
void SetActiveWindow(mus::Window* window);
- // mus::WindowTreeConnectionObserver:
+ // mus::WindowTreeClientObserver:
void OnWindowTreeFocusChanged(mus::Window* gained_focus,
mus::Window* lost_focus) override;
// mus::WindowObserver:
void OnWindowDestroying(mus::Window* window) override;
- mus::WindowTreeConnection* window_tree_;
+ mus::WindowTreeClient* window_tree_;
mus::Window* active_window_;
DISALLOW_COPY_AND_ASSIGN(ShadowController);
« no previous file with comments | « mash/wm/root_window_controller.cc ('k') | mash/wm/shadow_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698