|
Browser Plugin: Simplified BrowserPluginManager
BrowserPluginManager is no longer a singleton.
BrowserPluginManager is now a RenderViewObserver.
All BrowserPluginMsg_* are routed which means they're targeted at a particular RenderView.
This means that more than one BrowserPluginManager can exist per process.
BrowserPluginManager is now refcounted and so it exists as long as a BrowserPlugin or RenderViewImpl
holds a reference to it.
In tests, we inject a BrowserPluginManagerFactory that creates MockBrowserPluginManagers.
BUG= 159936
Test=BrowserPluginTest.*, BrowserPluginHostTest.*
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=168920
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+260 lines, -139 lines) |
Patch |
 |
M |
content/browser/browser_plugin/browser_plugin_embedder.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/browser_plugin/browser_plugin_guest.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_plugin/browser_plugin_guest.cc
|
View
|
|
10 chunks |
+31 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/common/browser_plugin_messages.h
|
View
|
|
1 chunk |
+42 lines, -43 lines |
0 comments
|
Download
|
 |
M |
content/content_renderer.gypi
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/browser_plugin.h
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/browser_plugin.cc
|
View
|
|
19 chunks |
+21 lines, -20 lines |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/browser_plugin_browsertest.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/browser_plugin_browsertest.cc
|
View
|
|
2 chunks |
+32 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/browser_plugin_manager.h
|
View
|
1
2
3
|
3 chunks |
+37 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/browser_plugin_manager.cc
|
View
|
1
2
|
1 chunk |
+12 lines, -17 lines |
0 comments
|
Download
|
 |
A |
content/renderer/browser_plugin/browser_plugin_manager_factory.h
|
View
|
1
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/browser_plugin_manager_impl.h
|
View
|
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/browser_plugin_manager_impl.cc
|
View
|
1
2
|
4 chunks |
+12 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/mock_browser_plugin_manager.h
|
View
|
|
4 chunks |
+8 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/mock_browser_plugin_manager.cc
|
View
|
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.h
|
View
|
1
2
3
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.cc
|
View
|
1
2
3
|
5 chunks |
+11 lines, -3 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|