|
This adds new Content interfaces wrapping the Pepper host in both the browser and the renderer so Chrome-implemented resources can access them. There aren't any Chrome resources yet so this is currently unused, but this will be a good place to put stuff. This enabled me to delete the old pepper_instance_state_accessor and move its methods onto the RendererPpapiHost.
This makes the PluginModule own the new RendererPpapiHostImpl object. Previously this was a bit confused. It used to be owned by the dispatcher wrapper for the out-of-process case, and there was one per-instance (whoops!) for the in-process case. Now these cases are uniform. There is a new interface on PluginModule to allow owning this pointer.
The in-process fake IPC channel should be per-plugin instead of per-instance, so I moved the routing from PepperInProcessResourceCreation to a new object that's owned by the host impl. The PepperInProcessResourceCreation just references this.
Total comments: 11
Total comments: 5
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1154 lines, -459 lines) |
Patch |
 |
M |
chrome/renderer/pepper/pepper_flash_renderer_message_filter.h
|
View
|
1
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/pepper/pepper_flash_renderer_message_filter.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/pepper/pepper_helper.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/pepper/pepper_helper.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/ppapi_plugin_process_host.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/ppapi_plugin_process_host.cc
|
View
|
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
A |
content/browser/renderer_host/pepper/browser_ppapi_host_impl.h
|
View
|
1
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc
|
View
|
1
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/pepper/pepper_message_filter.h
|
View
|
1
2
3
4
5
|
3 chunks |
+1 line, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/pepper/pepper_message_filter.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+1 line, -18 lines |
0 comments
|
Download
|
 |
M |
content/content_browser.gypi
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_renderer.gypi
|
View
|
1
2
3
4
5
6
|
4 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/content_tests.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/ppapi_plugin/ppapi_thread.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/ppapi_plugin/ppapi_thread.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/public/browser/browser_ppapi_host.h
|
View
|
1
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/renderer/render_view_observer.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A |
content/public/renderer/renderer_ppapi_host.h
|
View
|
1
2
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/gamepad_shared_memory_reader.h
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/content_renderer_pepper_host_factory.h
|
View
|
|
2 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/content_renderer_pepper_host_factory.cc
|
View
|
|
3 chunks |
+14 lines, -11 lines |
0 comments
|
Download
|
 |
A |
content/renderer/pepper/mock_renderer_ppapi_host.h
|
View
|
1
2
3
4
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/renderer/pepper/mock_renderer_ppapi_host.cc
|
View
|
1
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_file_chooser_host.h
|
View
|
|
3 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_file_chooser_host.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_file_chooser_host_unittest.cc
|
View
|
1
2
3
4
|
5 chunks |
+9 lines, -34 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_in_process_resource_creation.h
|
View
|
1
2
|
3 chunks |
+15 lines, -22 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_in_process_resource_creation.cc
|
View
|
1
2
3
|
3 chunks |
+6 lines, -123 lines |
0 comments
|
Download
|
 |
A |
content/renderer/pepper/pepper_in_process_router.h
|
View
|
1
|
1 chunk |
+70 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/renderer/pepper/pepper_in_process_router.cc
|
View
|
1
|
1 chunk |
+153 lines, -0 lines |
0 comments
|
Download
|
 |
D |
content/renderer/pepper/pepper_instance_state_accessor.h
|
View
|
|
1 chunk |
+0 lines, -33 lines |
0 comments
|
Download
|
 |
D |
content/renderer/pepper/pepper_instance_state_accessor_impl.h
|
View
|
|
1 chunk |
+0 lines, -45 lines |
0 comments
|
Download
|
 |
D |
content/renderer/pepper/pepper_instance_state_accessor_impl.cc
|
View
|
|
1 chunk |
+0 lines, -50 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_plugin_delegate_impl.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
View
|
1
2
3
4
5
|
9 chunks |
+39 lines, -17 lines |
0 comments
|
Download
|
 |
A |
content/renderer/pepper/renderer_ppapi_host_impl.h
|
View
|
1
2
3
4
5
|
1 chunk |
+116 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/renderer/pepper/renderer_ppapi_host_impl.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+130 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/host/dispatch_host_message.h
|
View
|
1
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/host/host_message_context.h
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ppapi/ppapi_proxy.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/proxy/connection.h
|
View
|
1
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/proxy/dispatch_reply_message.h
|
View
|
1
2
|
1 chunk |
+80 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/file_chooser_resource.h
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/file_chooser_resource.cc
|
View
|
1
|
4 chunks |
+15 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/plugin_dispatcher.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/plugin_proxy_delegate.h
|
View
|
1
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/plugin_resource.h
|
View
|
1
|
2 chunks |
+14 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/plugin_resource.cc
|
View
|
1
|
2 chunks |
+36 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppapi_proxy_test.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppapi_proxy_test.cc
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/resource_creation_proxy.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
|
ppapi/proxy/resource_creation_proxy.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/shared_impl/resource.h
|
View
|
1
2
3
|
3 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ppapi/shared_impl/resource.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/plugin_module.h
|
View
|
|
3 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/plugin_module.cc
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|