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

Unified Diff: services/ui/ws/server_window_compositor_frame_sink_manager.h

Issue 2711913006: Move FrameSink hierarchy registration to DisplayCompositor interface (Closed)
Patch Set: Fix mojom Formatting Created 3 years, 10 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/ws/server_window.cc ('k') | services/ui/ws/server_window_compositor_frame_sink_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/server_window_compositor_frame_sink_manager.h
diff --git a/services/ui/ws/server_window_compositor_frame_sink_manager.h b/services/ui/ws/server_window_compositor_frame_sink_manager.h
index f45782acee3a9001d600cc4f581efafe27679c4a..8eb887b9521ae725d2bcd5f73cbf1f93a408ae43 100644
--- a/services/ui/ws/server_window_compositor_frame_sink_manager.h
+++ b/services/ui/ws/server_window_compositor_frame_sink_manager.h
@@ -30,7 +30,6 @@ struct CompositorFrameSinkData {
cc::mojom::MojoCompositorFrameSinkPrivatePtr compositor_frame_sink;
cc::mojom::MojoCompositorFrameSinkPrivateRequest
pending_compositor_frame_sink_request;
- cc::FrameSinkId frame_sink_id;
};
// ServerWindowCompositorFrameSinkManager tracks the surfaces associated with a
@@ -52,18 +51,6 @@ class ServerWindowCompositorFrameSinkManager {
cc::mojom::MojoCompositorFrameSinkRequest request,
cc::mojom::MojoCompositorFrameSinkClientPtr client);
- // Adds the provided |frame_sink_id| to this ServerWindow's associated
- // CompositorFrameSink if possible. If this ServerWindow does not have
- // an associated CompositorFrameSink then this method will recursively
- // walk up the window hierarchy and register itself with the first ancestor
- // that has a CompositorFrameSink of the same type. This method returns
- // the FrameSinkId that is the first composited ancestor of the ServerWindow
- // assocaited with the provided |frame_sink_id|.
- void AddChildFrameSinkId(const cc::FrameSinkId& frame_sink_id);
- void RemoveChildFrameSinkId(const cc::FrameSinkId& frame_sink_id);
-
- void OnRootChanged(ServerWindow* old_root, ServerWindow* new_root);
-
private:
friend class ServerWindowCompositorFrameSinkManagerTestApi;
friend class ServerWindowCompositorFrameSink;
« no previous file with comments | « services/ui/ws/server_window.cc ('k') | services/ui/ws/server_window_compositor_frame_sink_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698