|
Browser Plugin: Simplify BrowserPluginGuestHelper
Since BrowserPlugin was first implemented, support for cross-process navigation
was dropped but BrowserPlugin*Helper classes maintain a lot of complexity that
was no longer necessary. This CL attempts to reduce some of this complexity
by simplifying BrowserPluginGuestHelper. It is only needed now to intercept
ViewHostMsg_* before arriving to RenderViewHost. It is still a separate class
because RenderViewHostObserver's lifetime is managed by RenderViewHost and
BrowserPluginGuest's lifetime is managed by WebContentsImpl.
This refactor/simplification is a prerequisite to introducing a
BrowserPluginGuestObserver class. Further changes will come in a subsequent
CL to simplify the message routing from
BrowserPluginEmbedderHelper --> BrowserPluginEmbedder --> BrowserPluginGuest
BUG= 166165
Test=BrowserPluginHostTest.*
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173804
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+249 lines, -323 lines) |
Patch |
 |
M |
content/browser/browser_plugin/browser_plugin_embedder.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/browser_plugin/browser_plugin_embedder.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_plugin/browser_plugin_embedder_helper.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/browser_plugin/browser_plugin_embedder_helper.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_plugin/browser_plugin_guest.h
|
View
|
1
2
3
|
8 chunks |
+34 lines, -50 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_plugin/browser_plugin_guest.cc
|
View
|
1
2
3
|
11 chunks |
+165 lines, -160 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_plugin/browser_plugin_guest_helper.h
|
View
|
|
2 chunks |
+8 lines, -20 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_plugin/browser_plugin_guest_helper.cc
|
View
|
|
2 chunks |
+22 lines, -59 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_plugin/test_browser_plugin_guest.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/browser_plugin/test_browser_plugin_guest.cc
|
View
|
1
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/common/browser_plugin_messages.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/browser_plugin.h
|
View
|
1
2
3
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/browser_plugin.cc
|
View
|
1
2
3
|
3 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/browser_plugin_browsertest.cc
|
View
|
1
|
6 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/browser_plugin_manager_impl.cc
|
View
|
|
1 chunk |
+7 lines, -7 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|