|
linux: OOP windowed plugins
There are still a few issues, but that's a start.
- only windowed plugins
- we can't currently create the gtksocket in background tabs, because their gtkwidgets are not yet in the hierarchy, so they can't be realized (that's what gives the XID).
- the plugin process talks to the browser process through the renderer process to create/destroy the gtksockets, because the plugin doesn't know which renderer it's talking to. We need a bit more plumbing to be able to have direct IPC.
- some code is duplicated between chrome and test_shell. We should probably refactor it, but I'm not sure where the common part should live.
Patch from Antoine Labour < piman@google.com>, with some touchups by me.
Total comments: 21
Total comments: 21
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+382 lines, -143 lines) |
Patch |
|
M |
chrome/browser/plugin_process_host.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/plugin_process_host.cc
|
View
|
5
6
|
4 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/renderer_host/render_view_host.cc
|
View
|
5
6
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/renderer_host/render_widget_host.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/renderer_host/render_widget_host.cc
|
View
|
|
2 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/renderer_host/render_widget_host_view.h
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/renderer_host/render_widget_host_view_gtk.h
|
View
|
1
2
3
4
5
|
3 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/renderer_host/render_widget_host_view_gtk.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+17 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/renderer_host/test/test_render_view_host.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/plugin_messages_internal.h
|
View
|
2
3
4
|
3 chunks |
+21 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/common/render_messages_internal.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/plugin/plugin_main.cc
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/plugin/webplugin_delegate_stub.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/plugin/webplugin_proxy.h
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
chrome/plugin/webplugin_proxy.cc
|
View
|
1
2
|
6 chunks |
+13 lines, -12 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/webplugin_delegate_proxy.h
|
View
|
2
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/renderer/webplugin_delegate_proxy.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+22 lines, -7 lines |
0 comments
|
Download
|
|
A |
webkit/glue/plugins/gtk_plugin_container_host.h
|
View
|
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
|
A |
webkit/glue/plugins/gtk_plugin_container_host.cc
|
View
|
|
1 chunk |
+138 lines, -0 lines |
0 comments
|
Download
|
|
M |
webkit/glue/plugins/webplugin_delegate_impl_gtk.cc
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
webkit/tools/test_shell/test_webview_delegate_gtk.cc
|
View
|
1
|
2 chunks |
+4 lines, -56 lines |
0 comments
|
Download
|
|
M |
webkit/tools/test_shell/webview_host.h
|
View
|
1
5
6
|
3 chunks |
+11 lines, -19 lines |
0 comments
|
Download
|
|
M |
webkit/tools/test_shell/webview_host_gtk.cc
|
View
|
1
|
2 chunks |
+3 lines, -34 lines |
0 comments
|
Download
|
|
M |
webkit/webkit.gyp
|
View
|
5
6
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|