Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(442)

Issue 21930006: <webview>: Allocate the view instance ID from the WebView shim (Closed)

Created:
7 years, 4 months ago by Fady Samuel
Modified:
7 years, 4 months ago
Reviewers:
lazyboy, jam
CC:
chromium-reviews, joi+watch-content_chromium.org, chromium-apps-reviews_chromium.org, darin-cc_chromium.org, extensions-reviews_chromium.org, wjmaclean
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

<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

Patch Set 1 #

Patch Set 2 : Remove commented out code #

Patch Set 3 : Merge with ToT #

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

Messages

Total messages: 7 (0 generated)
Fady Samuel
7 years, 4 months ago (2013-08-05 11:03:39 UTC) #1
lazyboy
lgtm Mostly comment on the CL description: "This CL allocates a unique instance ID per ...
7 years, 4 months ago (2013-08-05 16:21:15 UTC) #2
Fady Samuel
On 2013/08/05 16:21:15, lazyboy wrote: > lgtm > > Mostly comment on the CL description: ...
7 years, 4 months ago (2013-08-05 18:36:00 UTC) #3
Fady Samuel
+jam@ for small content/public/* change
7 years, 4 months ago (2013-08-05 18:37:14 UTC) #4
jam
On 2013/08/05 18:37:14, Fady Samuel wrote: > +jam@ for small content/public/* change lgtm
7 years, 4 months ago (2013-08-05 19:50:09 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/21930006/10001
7 years, 4 months ago (2013-08-06 01:49:35 UTC) #6
commit-bot: I haz the power
7 years, 4 months ago (2013-08-06 05:57:47 UTC) #7
Message was sent while issue was closed.
Change committed as 215807

Powered by Google App Engine
This is Rietveld 408576698