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

Unified Diff: services/ui/public/cpp/window_tree_client.cc

Issue 2429173005: Mus+Ash: Replace (Server)WindowSurface with (Server)WindowCompositorFrameSink (Closed)
Patch Set: Rebased Created 4 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
« no previous file with comments | « services/ui/public/cpp/window_tree_client.h ('k') | services/ui/public/interfaces/window_tree.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/window_tree_client.cc
diff --git a/services/ui/public/cpp/window_tree_client.cc b/services/ui/public/cpp/window_tree_client.cc
index 1c30e875bb617be196d6d46045b0fd38b6aa8382..11e73b05533d8f45fb7c94dd285dadeb1e01723d 100644
--- a/services/ui/public/cpp/window_tree_client.cc
+++ b/services/ui/public/cpp/window_tree_client.cc
@@ -349,13 +349,14 @@ void WindowTreeClient::RequestClose(Window* window) {
window_manager_internal_client_->WmRequestClose(server_id(window));
}
-void WindowTreeClient::AttachSurface(
+void WindowTreeClient::AttachCompositorFrameSink(
Id window_id,
- mojom::SurfaceType type,
- mojo::InterfaceRequest<cc::mojom::MojoCompositorFrameSink> surface,
+ mojom::CompositorFrameSinkType type,
+ cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink,
cc::mojom::MojoCompositorFrameSinkClientPtr client) {
DCHECK(tree_);
- tree_->AttachSurface(window_id, type, std::move(surface), std::move(client));
+ tree_->AttachCompositorFrameSink(
+ window_id, type, std::move(compositor_frame_sink), std::move(client));
}
void WindowTreeClient::OnWindowSurfaceDetached(
« no previous file with comments | « services/ui/public/cpp/window_tree_client.h ('k') | services/ui/public/interfaces/window_tree.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698