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

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

Issue 2429173005: Mus+Ash: Replace (Server)WindowSurface with (Server)WindowCompositorFrameSink (Closed)
Patch Set: ui::CompositorFrameSink => ui::WindowCompositorFrameSink 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
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 dac05b9d711e694baa450f3f93bda96cc57ab221..d08cf6e73d20422a0fb14f096b20809451e519ff 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(

Powered by Google App Engine
This is Rietveld 408576698