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

Unified Diff: services/ui/public/cpp/window_compositor_frame_sink.h

Issue 2647363002: mus: Remove aura version of WindowCompositorFrameSink. (Closed)
Patch Set: tot merge Created 3 years, 11 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_compositor_frame_sink.h
diff --git a/services/ui/public/cpp/window_compositor_frame_sink.h b/services/ui/public/cpp/window_compositor_frame_sink.h
index 9a8452e91f6fb483ba6392b7e42fa69d5ac5d021..17d5988d99d7ce650ac7d9eab2b03719563d1fa3 100644
--- a/services/ui/public/cpp/window_compositor_frame_sink.h
+++ b/services/ui/public/cpp/window_compositor_frame_sink.h
@@ -39,8 +39,6 @@ class WindowCompositorFrameSink
void SubmitCompositorFrame(cc::CompositorFrame frame) override;
private:
- friend class Window;
-
WindowCompositorFrameSink(
const cc::FrameSinkId& frame_sink_id,
scoped_refptr<cc::ContextProvider> context_provider,
@@ -74,7 +72,7 @@ class WindowCompositorFrameSink
// A WindowCompositorFrameSinkBinding is a bundle of mojo interfaces that is
// created by WindowCompositorFrameSink::Create and is used by or implemented by
-// Mus when passed into Window::AttachCompositorFrameSink.
+// Mus when a window is attached to a frame-sink..
// WindowCompositorFrameSinkBinding has no standalone functionality. Its purpose
// is to allow safely creating and attaching a CompositorFrameSink on one
// thread and using it on another.
@@ -82,8 +80,10 @@ class WindowCompositorFrameSinkBinding {
public:
~WindowCompositorFrameSinkBinding();
+ cc::mojom::MojoCompositorFrameSinkRequest TakeFrameSinkRequest();
+ cc::mojom::MojoCompositorFrameSinkClientPtrInfo TakeFrameSinkClient();
+
private:
- friend class Window;
friend class WindowCompositorFrameSink;
WindowCompositorFrameSinkBinding(

Powered by Google App Engine
This is Rietveld 408576698