|
[OLD ATTEMPT, DO NOT REVIEW] mustash: Enable connections to mus from the Chrome renderer
This CL introduces the initial plumbing to enable connections to mus from
the Chrome renderer.
The connection is established as follows:
1. RenderViewImpl creates a RenderWidgetMus.
2. RenderWidgetMus establishes a connection with the browser,
requesting a RenderProcessClient interface.
3. RenderProcessConnectionListener intercepts the request in the
browser, and creates a RenderProcessConnection with the process ID
of the renderer.
4. RenderWidgetMus informs the RenderProcessClient that it has been
created with the specified routing ID, and provides a WindowTreeClient
interface.
5. RenderProcessConnection receives the routing ID and
WindowTreeClient interface ptr, and passes it along to the associated
RenderWidgetHostViewMus.
6. RenderWidgetHostViewMus embeds the WindowTreeClient with its
associated mus::Window.
7. RenderWidgetMus sees the OnEmbed, and begins to put things on
screen inside its window.
BUG= 551250
Total comments: 12
Total comments: 22
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+428 lines, -21 lines) |
Patch |
|
M |
content/browser/BUILD.gn
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/DEPS
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/browser_main_loop.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/mojo/mojo_shell_client_host.h
|
View
|
1
2
3
4
5
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/mojo/mojo_shell_client_host.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/mus_util.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/mus_util.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/render_process_connection_listener.h
|
View
|
1
2
3
4
5
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/render_process_connection_listener.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+89 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/DEPS
|
View
|
1
2
3
4
|
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
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_base.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_base.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_mus.h
|
View
|
1
2
3
4
5
|
3 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_mus.cc
|
View
|
1
2
3
4
5
|
8 chunks |
+32 lines, -7 lines |
0 comments
|
Download
|
|
M |
content/browser/web_contents/web_contents_impl.h
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/web_contents/web_contents_view_mus.h
|
View
|
1
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/web_contents/web_contents_view_mus.cc
|
View
|
1
2
|
6 chunks |
+18 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/common/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/common/mojo/mojo_shell_connection_impl.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
A |
content/common/render_process_client.mojom
|
View
|
1
2
3
4
5
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/public/browser/BUILD.gn
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/public/browser/render_widget_host_view.h
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/public/common/mojo_shell_connection.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/BUILD.gn
|
View
|
1
2
3
4
5
6
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/DEPS
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_view_impl.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/render_widget_mus.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/render_widget_mus.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+83 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/mus/native_widget_mus.cc
|
View
|
1
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
Total messages: 14 (8 generated)
|