|
|
mustash: Enable connections to mus from the Chrome renderer [take 2]
This CL introduces the initial plumbing to enable
connections to mus from the Chrome renderer.
The connection is established as follows:
1. RenderWidgetHostViewMus requests a
RenderWidgetWindowTreeClientFactory interface from the renderer. It
uses that client ptr to issue an CreateWindowTreeClientForRenderWidget
with the host routing ID and an interface request to a WindowTreeClient.
2. The renderer receives the request for
RenderWidgetWindowTreeClientFactory and handles it in
RenderWidgetWindowTreeClientFactoryImpl. The renderer sees
the subsequent CreateWindowTreeClientForRenderWidget call, and
creates a RenderWidgetMusConnection.
3. RenderWidgetMusConnection uses the WindowTreeClient
interface request to establish a WindowTreeConnection.
4. RenderWidgetMusConnection receives an OnEmbed from mus
with a mus::Window as its root and starts putting things
on screen inside this window.
BUG= 551250
Committed: https://crrev.com/6c6da0233c011d29cc7c43221fb8f5482405dfb6
Cr-Commit-Position: refs/heads/master@{#361820}
Total comments: 28
Total comments: 9
Total comments: 1
Total comments: 2
Total comments: 2
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+456 lines, -32 lines) |
Patch |
 |
M |
content/browser/BUILD.gn
|
View
|
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/DEPS
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_main_loop.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/mojo/mojo_shell_client_host.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/mojo/mojo_shell_client_host.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+33 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/DEPS
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_mus.h
|
View
|
1
2
3
4
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_mus.cc
|
View
|
1
2
3
4
|
3 chunks |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_view_mus.h
|
View
|
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_view_mus.cc
|
View
|
|
4 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/child/child_thread_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/common/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/mojo/mojo_shell_connection_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+15 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/common/mojo/mojo_shell_connection_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+22 lines, -8 lines |
0 comments
|
Download
|
 |
A |
content/common/render_widget_window_tree_client_factory.mojom
|
View
|
1
2
3
4
|
1 chunk |
+13 lines, -0 lines |
1 comment
|
Download
|
 |
M |
content/public/common/mojo_shell_connection.h
|
View
|
1
2
5
6
7
8
9
10
11
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/BUILD.gn
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/DEPS
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_thread_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/renderer/render_widget_mus_connection.h
|
View
|
1
2
3
4
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/renderer/render_widget_mus_connection.cc
|
View
|
1
2
3
|
1 chunk |
+88 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/renderer/render_widget_window_tree_client_factory.h
|
View
|
1
2
3
4
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/renderer/render_widget_window_tree_client_factory.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+69 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/renderer_main.cc
|
View
|
1
2
3
4
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/aura/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/aura/mus/mus_util.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/aura/mus/mus_util.cc
|
View
|
1
2
3
4
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/native_widget_mus.cc
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
Total messages: 52 (26 generated)
|