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

Unified Diff: mash/wm/shadow_controller.cc

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/shadow_controller.h ('k') | mash/wm/test/wm_test_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/shadow_controller.cc
diff --git a/mash/wm/shadow_controller.cc b/mash/wm/shadow_controller.cc
index d8fafbfd5ad9c9502a2c7257a7cc6a4d71783c13..280bdaeee2151dc2402cf29cbda91b0a2787da67 100644
--- a/mash/wm/shadow_controller.cc
+++ b/mash/wm/shadow_controller.cc
@@ -5,7 +5,7 @@
#include "mash/wm/shadow_controller.h"
#include "components/mus/public/cpp/window.h"
-#include "components/mus/public/cpp/window_tree_connection.h"
+#include "components/mus/public/cpp/window_tree_client.h"
#include "mash/wm/property_util.h"
#include "mash/wm/shadow.h"
@@ -25,7 +25,7 @@ mus::Window* FindAncestorWithShadow(mus::Window* from) {
} // namespace
-ShadowController::ShadowController(mus::WindowTreeConnection* window_tree)
+ShadowController::ShadowController(mus::WindowTreeClient* window_tree)
: window_tree_(window_tree), active_window_(nullptr) {
window_tree_->AddObserver(this);
SetActiveWindow(FindAncestorWithShadow(window_tree_->GetFocusedWindow()));
« no previous file with comments | « mash/wm/shadow_controller.h ('k') | mash/wm/test/wm_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698