|
<webview>: Allocate the view instance ID from the WebView shim
This CL allocates a creates unique instance id for each
<webview> in an embedder RenderView/shim instead of in BrowserPlugin. In a subsequent CL, this will permit
usage of the WebRequest API prior to attachment to the DOM.
This CL also fixes a potential crash on edit commands if the instance ID passed did not exist: Perhaps open two <webview> apps and then close the first one, then send edit commands to the second one.
BUG= 178663
Test=WebViewTest.*, WebViewInteractiveTest.*
TBR=cdn@chromium.org for deleted field in browser_plugin_messages.h
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215807
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+32 lines, -76 lines) |
Patch |
 |
M |
chrome/browser/chrome_content_browser_client.h
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
2
|
3 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_renderer_state.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/guestview/guestview.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/guestview/guestview.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/guestview/guestview_constants.h
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/guestview/guestview_constants.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/guestview/webview/webview_guest.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/guestview/webview/webview_guest.cc
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/resources/extensions/web_view.js
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/resources/extensions/web_view_experimental.js
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/browser_plugin/browser_plugin_embedder.cc
|
View
|
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/browser_plugin/browser_plugin_messages.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/public/browser/content_browser_client.h
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/browser_plugin.h
|
View
|
|
3 chunks |
+1 line, -6 lines |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/browser_plugin.cc
|
View
|
1
2
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/browser_plugin_bindings.cc
|
View
|
|
2 chunks |
+0 lines, -21 lines |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/browser_plugin_browsertest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/browser_plugin_manager_impl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/browser_plugin_manager_impl.cc
|
View
|
|
3 chunks |
+8 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/mock_browser_plugin.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/mock_browser_plugin.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/mock_browser_plugin_manager.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/browser_plugin/mock_browser_plugin_manager.cc
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|