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

Unified Diff: ui/aura/mus/window_tree_client.cc

Issue 2521823002: Wires up PointerWatcherEventRouter for views aura-mus (Closed)
Patch Set: cleanup Created 4 years, 1 month 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: ui/aura/mus/window_tree_client.cc
diff --git a/ui/aura/mus/window_tree_client.cc b/ui/aura/mus/window_tree_client.cc
index 16f20294f6b1dc7d14e473710827c0132c6dc924..7fa8c5edd58547147bea68b78713e158bce03962 100644
--- a/ui/aura/mus/window_tree_client.cc
+++ b/ui/aura/mus/window_tree_client.cc
@@ -211,6 +211,10 @@ void WindowTreeClient::ConnectAsWindowManager(
SetWindowTree(std::move(window_tree));
}
+client::CaptureClient* WindowTreeClient::GetCaptureClient() {
+ return delegate_->GetCaptureClient();
+}
+
void WindowTreeClient::SetClientArea(
Window* window,
const gfx::Insets& client_area,
@@ -431,8 +435,8 @@ void WindowTreeClient::WindowTreeConnectionEstablished(
tree_ = window_tree;
drag_drop_controller_ = base::MakeUnique<DragDropControllerMus>(this, tree_);
- capture_synchronizer_ = base::MakeUnique<CaptureSynchronizer>(
- this, tree_, delegate_->GetCaptureClient());
+ capture_synchronizer_ =
+ base::MakeUnique<CaptureSynchronizer>(this, tree_, GetCaptureClient());
focus_synchronizer_ = base::MakeUnique<FocusSynchronizer>(this, tree_);
}
« no previous file with comments | « ui/aura/mus/window_tree_client.h ('k') | ui/views/mus/BUILD.gn » ('j') | ui/views/mus/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698