<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 Review URL: https://chromiumcodereview.appspot.com/21930006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215807 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment