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

Unified Diff: content/renderer/mus/compositor_mus_connection.h

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 | « content/renderer/mus/OWNERS ('k') | content/renderer/mus/compositor_mus_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/mus/compositor_mus_connection.h
diff --git a/content/renderer/mus/compositor_mus_connection.h b/content/renderer/mus/compositor_mus_connection.h
index f1657e45de92166d07f79609bb388b60b6ab4e43..6859b177eabcfa6855a45a437bb259eb5e8b72db 100644
--- a/content/renderer/mus/compositor_mus_connection.h
+++ b/content/renderer/mus/compositor_mus_connection.h
@@ -48,10 +48,11 @@ class CONTENT_EXPORT CompositorMusConnection
mojo::InterfaceRequest<ui::mojom::WindowTreeClient> request,
InputHandlerManager* input_handler_manager);
- // Attaches the provided |surface_binding| with the ui::Window for the
- // renderer once it becomes available.
+ // Attaches the provided |compositor_frame_sink_binding| with the ui::Window
+ // for the renderer once it becomes available.
void AttachCompositorFrameSinkOnMainThread(
- std::unique_ptr<ui::WindowSurfaceBinding> surface_binding);
+ std::unique_ptr<ui::WindowCompositorFrameSinkBinding>
+ compositor_frame_sink_binding);
private:
friend class CompositorMusConnectionTest;
@@ -60,7 +61,8 @@ class CONTENT_EXPORT CompositorMusConnection
~CompositorMusConnection() override;
void AttachCompositorFrameSinkOnCompositorThread(
- std::unique_ptr<ui::WindowSurfaceBinding> surface_binding);
+ std::unique_ptr<ui::WindowCompositorFrameSinkBinding>
+ compositor_frame_sink_binding);
void CreateWindowTreeClientOnCompositorThread(
ui::mojom::WindowTreeClientRequest request);
@@ -109,7 +111,8 @@ class CONTENT_EXPORT CompositorMusConnection
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_;
scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_;
InputHandlerManager* const input_handler_manager_;
- std::unique_ptr<ui::WindowSurfaceBinding> window_surface_binding_;
+ std::unique_ptr<ui::WindowCompositorFrameSinkBinding>
+ window_compositor_frame_sink_binding_;
// Stores the current state of the active pointers targeting this object.
ui::MotionEventAura pointer_state_;
« no previous file with comments | « content/renderer/mus/OWNERS ('k') | content/renderer/mus/compositor_mus_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698