|
mus-ws: Plumb FrameSinkId to Children
This CL takes us a step closer to surface synchronization by plumbing the
correct FrameSinkId to children and delaying CompositorFrameSink creation
until the FrameSinkId is propagated to the child.
FrameSinkIds are plumbed to children via:
1. WindowTreeClient::OnTopLevelCreated
-- for top level windows like Chrome
2. WindowTreeClient::OnEmbed
-- for embedded apps and OOPIFs
3. WindowManager::WmNewDisplayAdded
-- for the window manager's CompositorFrameSink
Requesting a CompositorFrameSink from WindowPortMus is now async,
and completes when the FrameSinkId is available.
BUG= 672962
TBR=piman@chromium.org
Review-Url: https://codereview.chromium.org/2764433003
Cr-Commit-Position: refs/heads/master@{#458703}
Committed: https://chromium.googlesource.com/chromium/src/+/95c974eb51c3626888d8cc74d0e47624da956210
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+305 lines, -148 lines) |
Patch |
|
M |
ash/mus/window_manager_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/frame/browser_frame_mus.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/renderer/mus/renderer_window_tree_client.h
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+18 lines, -10 lines |
0 comments
|
Download
|
|
M |
content/renderer/mus/renderer_window_tree_client.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+45 lines, -28 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_thread_impl.cc
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
services/ui/public/interfaces/window_manager.mojom
|
View
|
1
2
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
services/ui/public/interfaces/window_tree.mojom
|
View
|
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
services/ui/ws/test_change_tracker.h
|
View
|
1
2
3
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
services/ui/ws/test_change_tracker.cc
|
View
|
1
2
3
|
4 chunks |
+16 lines, -9 lines |
0 comments
|
Download
|
|
M |
services/ui/ws/test_utils.h
|
View
|
1
2
3
4
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
services/ui/ws/test_utils.cc
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -7 lines |
0 comments
|
Download
|
|
M |
services/ui/ws/window_manager_client_unittest.cc
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
services/ui/ws/window_tree.cc
|
View
|
1
2
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
services/ui/ws/window_tree_client_unittest.cc
|
View
|
1
2
3
|
6 chunks |
+21 lines, -7 lines |
0 comments
|
Download
|
|
M |
services/ui/ws/window_tree_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+14 lines, -8 lines |
0 comments
|
Download
|
|
M |
ui/aura/mus/mus_context_factory.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/aura/mus/mus_context_factory.cc
|
View
|
|
1 chunk |
+11 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/aura/mus/window_mus.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/aura/mus/window_port_mus.h
|
View
|
|
3 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/aura/mus/window_port_mus.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+33 lines, -5 lines |
0 comments
|
Download
|
|
M |
ui/aura/mus/window_tree_client.h
|
View
|
1
2
3
4
5
6
|
5 chunks |
+15 lines, -8 lines |
0 comments
|
Download
|
|
M |
ui/aura/mus/window_tree_client.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+22 lines, -13 lines |
0 comments
|
Download
|
|
M |
ui/aura/mus/window_tree_client_unittest.cc
|
View
|
1
2
3
4
|
9 chunks |
+17 lines, -14 lines |
0 comments
|
Download
|
|
M |
ui/aura/mus/window_tree_host_mus.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/aura/mus/window_tree_host_mus.cc
|
View
|
1
|
4 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
|
M |
ui/aura/mus/window_tree_host_mus_unittest.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/aura/test/mus/window_tree_client_private.cc
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/views/mus/desktop_window_tree_host_mus.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/mus/desktop_window_tree_host_mus.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/mus/mus_client.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/views/test/native_widget_factory_aura_mus.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 57 (37 generated)
|