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

Issue 2797453002: Rename DisplayCompositor to MojoFrameSinkManager. (Closed)

Created:
3 years, 8 months ago by kylechar
Modified:
3 years, 8 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, blink-reviews-platform-graphics_chromium.org, dshwang, yzshen+watch_chromium.org, kinuko+watch, Stephen Chennney, rwlbuis, krit, drott+blinkwatch_chromium.org, jam, abarth-chromium, dglazkov+blink, Rik, darin-cc_chromium.org, blink-reviews, ajuma+watch_chromium.org, blink-reviews-api_chromium.org, jbroman, pdr+graphicswatchlist_chromium.org, piman+watch_chromium.org, darin (slow to review), rjkroege, fmalita+watch_chromium.org, Aaron Boodman, cc-bugs_chromium.org, danakj
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename DisplayCompositor to MojoFrameSinkManager. The DisplayCompositor class and interface names are inaccurate. It is not a per display thing and it doesn't composite. We also already have a "display compositor" which is something separate. What was called DisplayCompositor actually manages CompositorFrameSinks. In the future it will manage other kinds of FrameSinks. Rename the interface to mojom::FrameSinkManager and implementation to MojoFrameSinkManager. Also remove cc::mojom::FrameSinkManager from manifests. This is a privileged interface only for service:ui not window_manager + apps. BUG=705630 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2797453002 Cr-Commit-Position: refs/heads/master@{#461727} Committed: https://chromium.googlesource.com/chromium/src/+/486c4556acd867e89461ff8c53f6badfe2f1b3a4

Patch Set 1 #

Patch Set 2 : Fix comments. #

Total comments: 25

Patch Set 3 : Fix msw@ comments. #

Total comments: 4

Patch Set 4 : More nits. #

Patch Set 5 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -523 lines) Patch
M cc/ipc/BUILD.gn View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
D cc/ipc/display_compositor.mojom View 1 chunk +0 lines, -84 lines 0 comments Download
A + cc/ipc/frame_sink_manager.mojom View 1 3 chunks +18 lines, -17 lines 0 comments Download
M components/display_compositor/gpu_compositor_frame_sink.h View 1 chunk +0 lines, -1 line 0 comments Download
M components/display_compositor/gpu_root_compositor_frame_sink.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/offscreen_canvas_compositor_frame_sink_manager_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/offscreen_canvas_compositor_frame_sink_provider_impl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/offscreen_canvas_surface_factory_impl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/offscreen_canvas_surface_factory_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/offscreen_canvas_surface_impl.h View 3 chunks +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/offscreen_canvas_surface_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/gpu/gpu_child_thread.h View 1 chunk +3 lines, -3 lines 0 comments Download
M content/gpu/gpu_child_thread.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M services/ui/common/BUILD.gn View 1 2 1 chunk +1 line, -1 line 0 comments Download
M services/ui/gpu/gpu_main.h View 1 2 5 chunks +19 lines, -18 lines 0 comments Download
M services/ui/gpu/gpu_main.cc View 1 2 6 chunks +23 lines, -23 lines 0 comments Download
M services/ui/gpu/interfaces/gpu_main.mojom View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M services/ui/gpu/interfaces/gpu_service.mojom View 1 chunk +0 lines, -1 line 0 comments Download
M services/ui/manifest.json View 2 chunks +0 lines, -2 lines 0 comments Download
M services/ui/public/interfaces/window_manager.mojom View 1 2 1 chunk +1 line, -1 line 0 comments Download
M services/ui/public/interfaces/window_tree.mojom View 1 2 1 chunk +1 line, -1 line 0 comments Download
M services/ui/surfaces/BUILD.gn View 1 chunk +2 lines, -2 lines 0 comments Download
D services/ui/surfaces/display_compositor.h View 1 chunk +0 lines, -108 lines 0 comments Download
D services/ui/surfaces/display_compositor.cc View 1 chunk +0 lines, -143 lines 0 comments Download
M services/ui/surfaces/display_provider.h View 1 chunk +2 lines, -1 line 0 comments Download
A + services/ui/surfaces/mojo_frame_sink_manager.h View 1 2 3 4 5 chunks +23 lines, -20 lines 0 comments Download
A + services/ui/surfaces/mojo_frame_sink_manager.cc View 1 2 6 chunks +18 lines, -17 lines 0 comments Download
M services/ui/ws/display_client_compositor_frame_sink.h View 2 chunks +5 lines, -5 lines 0 comments Download
M services/ui/ws/frame_generator_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/gpu_host.h View 1 chunk +3 lines, -3 lines 0 comments Download
M services/ui/ws/gpu_host.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M services/ui/ws/server_window.h View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/server_window_compositor_frame_sink_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/server_window_compositor_frame_sink_manager.cc View 3 chunks +2 lines, -3 lines 0 comments Download
M services/ui/ws/server_window_delegate.h View 1 2 2 chunks +9 lines, -4 lines 0 comments Download
M services/ui/ws/test_server_window_delegate.h View 1 2 2 chunks +1 line, -7 lines 0 comments Download
M services/ui/ws/test_server_window_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/window_server.h View 1 2 5 chunks +8 lines, -8 lines 0 comments Download
M services/ui/ws/window_server.cc View 1 2 6 chunks +10 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h View 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom View 1 2 chunks +3 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 35 (18 generated)
kylechar
fsamuel for confirmation before sending out to all OWNERS.
3 years, 8 months ago (2017-04-03 17:27:44 UTC) #4
Fady Samuel
lgtm
3 years, 8 months ago (2017-04-03 18:23:51 UTC) #5
kylechar
+tsepez for *.mojom and security +xlai for third_party/WebKit/* and content/browser/renderer_host/*offscreen_canvas* +msw for services/ui/* +piman for ...
3 years, 8 months ago (2017-04-03 18:30:07 UTC) #7
Tom Sepez
Straight rename? Then RS LGTM.
3 years, 8 months ago (2017-04-03 18:32:57 UTC) #8
kylechar
+piman for real
3 years, 8 months ago (2017-04-03 18:33:03 UTC) #10
danakj
Thank you :) Sorry for all the naming round-abouts. LGTM
3 years, 8 months ago (2017-04-03 18:37:19 UTC) #12
xlai (Olivia)
lgtm for content/browser/renderer_host/*offscreen_canvas* but I'm not the owner of third_party/WebKit/graphics. +junov@ to stamp.
3 years, 8 months ago (2017-04-03 18:48:13 UTC) #15
msw
https://codereview.chromium.org/2797453002/diff/40001/services/ui/gpu/gpu_main.h File services/ui/gpu/gpu_main.h (right): https://codereview.chromium.org/2797453002/diff/40001/services/ui/gpu/gpu_main.h#newcode83 services/ui/gpu/gpu_main.h:83: cc::mojom::FrameSinkManagerRequest pending_display_compositor_request_; Update these member names? Also grep services/ui ...
3 years, 8 months ago (2017-04-03 19:22:13 UTC) #17
kylechar
https://codereview.chromium.org/2797453002/diff/40001/services/ui/gpu/gpu_main.h File services/ui/gpu/gpu_main.h (right): https://codereview.chromium.org/2797453002/diff/40001/services/ui/gpu/gpu_main.h#newcode83 services/ui/gpu/gpu_main.h:83: cc::mojom::FrameSinkManagerRequest pending_display_compositor_request_; On 2017/04/03 19:22:13, msw wrote: > Update ...
3 years, 8 months ago (2017-04-03 19:54:16 UTC) #20
danakj
https://codereview.chromium.org/2797453002/diff/40001/services/ui/surfaces/mojo_frame_sink_manager.h File services/ui/surfaces/mojo_frame_sink_manager.h (right): https://codereview.chromium.org/2797453002/diff/40001/services/ui/surfaces/mojo_frame_sink_manager.h#newcode32 services/ui/surfaces/mojo_frame_sink_manager.h:32: class MojoFrameSinkManager On 2017/04/03 19:54:15, kylechar wrote: > On ...
3 years, 8 months ago (2017-04-03 19:55:15 UTC) #21
msw
lgtm with nits https://codereview.chromium.org/2797453002/diff/40001/services/ui/surfaces/mojo_frame_sink_manager.h File services/ui/surfaces/mojo_frame_sink_manager.h (right): https://codereview.chromium.org/2797453002/diff/40001/services/ui/surfaces/mojo_frame_sink_manager.h#newcode32 services/ui/surfaces/mojo_frame_sink_manager.h:32: class MojoFrameSinkManager On 2017/04/03 19:55:15, danakj ...
3 years, 8 months ago (2017-04-03 20:07:34 UTC) #22
danakj
https://codereview.chromium.org/2797453002/diff/40001/services/ui/surfaces/mojo_frame_sink_manager.h File services/ui/surfaces/mojo_frame_sink_manager.h (right): https://codereview.chromium.org/2797453002/diff/40001/services/ui/surfaces/mojo_frame_sink_manager.h#newcode32 services/ui/surfaces/mojo_frame_sink_manager.h:32: class MojoFrameSinkManager On 2017/04/03 20:07:34, msw wrote: > On ...
3 years, 8 months ago (2017-04-03 20:11:15 UTC) #23
kylechar
https://codereview.chromium.org/2797453002/diff/80001/services/ui/surfaces/mojo_frame_sink_manager.h File services/ui/surfaces/mojo_frame_sink_manager.h (right): https://codereview.chromium.org/2797453002/diff/80001/services/ui/surfaces/mojo_frame_sink_manager.h#newcode28 services/ui/surfaces/mojo_frame_sink_manager.h:28: // provides a Mojo interface to create CompositorFrameSinks, manage ...
3 years, 8 months ago (2017-04-03 20:32:06 UTC) #24
piman
lgtm
3 years, 8 months ago (2017-04-03 23:58:26 UTC) #25
Justin Novosad
lgtm
3 years, 8 months ago (2017-04-04 14:29:52 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2797453002/120001
3 years, 8 months ago (2017-04-04 14:36:11 UTC) #32
commit-bot: I haz the power
3 years, 8 months ago (2017-04-04 15:34:44 UTC) #35
Message was sent while issue was closed.
Committed patchset #5 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/486c4556acd867e89461ff8c53f6...

Powered by Google App Engine
This is Rietveld 408576698