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

Issue 23530029: Support webview tag when the container extension is embedded in a webUI (Closed)

Created:
7 years, 3 months ago by guohui
Modified:
7 years, 3 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, chromium-apps-reviews_chromium.org, darin-cc_chromium.org, jam, extensions-reviews_chromium.org, Roger Tawa OOO till Jul 10th
Visibility:
Public.

Description

Patch Set 1 : initial #

Patch Set 2 : Charlie's comments addressed #

Patch Set 3 : guest site instance fixed #

Total comments: 4

Patch Set 4 : fady's comment addressed #

Total comments: 10

Patch Set 5 : Removed unnecessary lines from document_custom_bindings #

Total comments: 34

Patch Set 6 : added URL filtering #

Patch Set 7 : Rename ChromeContentRendererClient::GetExtension #

Patch Set 8 : remove changes for unblessed API #

Patch Set 9 : rebased #

Patch Set 10 : fixed init order #

Patch Set 11 : merged #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -25 lines) Patch
M chrome/browser/chrome_content_browser_client.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 8 4 chunks +15 lines, -3 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/renderer/extensions/document_custom_bindings.cc View 1 2 3 4 3 chunks +2 lines, -13 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_embedder.cc View 1 2 3 4 5 6 7 4 chunks +8 lines, -1 line 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest_manager.cc View 1 2 3 4 5 6 7 8 4 chunks +11 lines, -2 lines 0 comments Download
M content/common/browser_plugin/browser_plugin_messages.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M content/public/browser/content_browser_client.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (0 generated)
guohui
Hello guys, The CL is ready for initial review. Thanks, Hui
7 years, 3 months ago (2013-09-04 16:10:42 UTC) #1
guohui
On 2013/09/04 16:10:42, guohui wrote: > Hello guys, > > The CL is ready for ...
7 years, 3 months ago (2013-09-12 19:34:05 UTC) #2
guohui
On 2013/09/12 19:34:05, guohui wrote: > On 2013/09/04 16:10:42, guohui wrote: > > Hello guys, ...
7 years, 3 months ago (2013-09-12 21:43:21 UTC) #3
Fady Samuel
https://codereview.chromium.org/23530029/diff/23001/content/browser/browser_plugin/browser_plugin_guest_manager.cc File content/browser/browser_plugin/browser_plugin_guest_manager.cc (right): https://codereview.chromium.org/23530029/diff/23001/content/browser/browser_plugin/browser_plugin_guest_manager.cc#newcode73 content/browser/browser_plugin/browser_plugin_guest_manager.cc:73: const std::string& host = GURL(params.embedder_frame_url).host(); Wow, this is a ...
7 years, 3 months ago (2013-09-12 21:54:37 UTC) #4
guohui
https://codereview.chromium.org/23530029/diff/23001/content/browser/browser_plugin/browser_plugin_guest_manager.cc File content/browser/browser_plugin/browser_plugin_guest_manager.cc (right): https://codereview.chromium.org/23530029/diff/23001/content/browser/browser_plugin/browser_plugin_guest_manager.cc#newcode73 content/browser/browser_plugin/browser_plugin_guest_manager.cc:73: const std::string& host = GURL(params.embedder_frame_url).host(); On 2013/09/12 21:54:38, Fady ...
7 years, 3 months ago (2013-09-12 22:06:08 UTC) #5
Fady Samuel
https://codereview.chromium.org/23530029/diff/23001/content/browser/browser_plugin/browser_plugin_guest_manager.cc File content/browser/browser_plugin/browser_plugin_guest_manager.cc (right): https://codereview.chromium.org/23530029/diff/23001/content/browser/browser_plugin/browser_plugin_guest_manager.cc#newcode73 content/browser/browser_plugin/browser_plugin_guest_manager.cc:73: const std::string& host = GURL(params.embedder_frame_url).host(); On 2013/09/12 22:06:08, guohui ...
7 years, 3 months ago (2013-09-12 22:11:20 UTC) #6
guohui
https://codereview.chromium.org/23530029/diff/23001/content/browser/browser_plugin/browser_plugin_guest_manager.cc File content/browser/browser_plugin/browser_plugin_guest_manager.cc (right): https://codereview.chromium.org/23530029/diff/23001/content/browser/browser_plugin/browser_plugin_guest_manager.cc#newcode73 content/browser/browser_plugin/browser_plugin_guest_manager.cc:73: const std::string& host = GURL(params.embedder_frame_url).host(); On 2013/09/12 22:11:21, Fady ...
7 years, 3 months ago (2013-09-12 22:36:12 UTC) #7
Fady Samuel
https://codereview.chromium.org/23530029/diff/37001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/23530029/diff/37001/chrome/browser/chrome_content_browser_client.cc#newcode2351 chrome/browser/chrome_content_browser_client.cc:2351: if (content::HasWebUIScheme(site_url)) We should probably do the same check ...
7 years, 3 months ago (2013-09-12 22:46:46 UTC) #8
guohui
https://codereview.chromium.org/23530029/diff/37001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/23530029/diff/37001/chrome/browser/chrome_content_browser_client.cc#newcode2351 chrome/browser/chrome_content_browser_client.cc:2351: if (content::HasWebUIScheme(site_url)) On 2013/09/12 22:46:46, Fady Samuel wrote: > ...
7 years, 3 months ago (2013-09-13 00:04:02 UTC) #9
guohui
On 2013/09/13 00:04:02, guohui wrote: > https://codereview.chromium.org/23530029/diff/37001/chrome/browser/chrome_content_browser_client.cc > File chrome/browser/chrome_content_browser_client.cc (right): > > https://codereview.chromium.org/23530029/diff/37001/chrome/browser/chrome_content_browser_client.cc#newcode2351 > ...
7 years, 3 months ago (2013-09-13 19:21:33 UTC) #10
Fady Samuel
I'm happy with the parts I've reviewed and understand. This CL needs more scrutiny from ...
7 years, 3 months ago (2013-09-13 20:59:15 UTC) #11
Charlie Reis
Thanks, this looks like it's on the right track. A few questions for how we ...
7 years, 3 months ago (2013-09-13 21:17:24 UTC) #12
guohui
https://codereview.chromium.org/23530029/diff/42001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/23530029/diff/42001/chrome/browser/chrome_content_browser_client.cc#newcode818 chrome/browser/chrome_content_browser_client.cc:818: // Only trust |embedder_frame_url| reported by a WebUI renderer. ...
7 years, 3 months ago (2013-09-16 22:27:02 UTC) #13
Charlie Reis
Thanks for the updates! Fady and I met yesterday to think carefully about what needs ...
7 years, 3 months ago (2013-09-18 17:42:22 UTC) #14
guohui
https://codereview.chromium.org/23530029/diff/42001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/23530029/diff/42001/chrome/browser/chrome_content_browser_client.cc#newcode824 chrome/browser/chrome_content_browser_client.cc:824: if (!extension) { On 2013/09/18 17:42:23, creis wrote: > ...
7 years, 3 months ago (2013-09-19 13:48:41 UTC) #15
Charlie Reis
Looks good apart from the security review for making the webview API unblessed. Is there ...
7 years, 3 months ago (2013-09-19 17:21:21 UTC) #16
Fady Samuel
> > I'll need to look over the existing webview API with another security team ...
7 years, 3 months ago (2013-09-19 17:26:39 UTC) #17
guohui
https://codereview.chromium.org/23530029/diff/42001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/23530029/diff/42001/chrome/browser/chrome_content_browser_client.cc#newcode824 chrome/browser/chrome_content_browser_client.cc:824: if (!extension) { On 2013/09/19 17:21:22, creis wrote: > ...
7 years, 3 months ago (2013-09-19 17:59:11 UTC) #18
Charlie Reis
On 2013/09/19 17:59:11, guohui wrote: > As suggested by Fady, i ll refactor this part ...
7 years, 3 months ago (2013-09-19 22:05:07 UTC) #19
Roger Tawa OOO till Jul 10th
Hi Charlie, We're breaking up the overall change into many CLs to make it easier ...
7 years, 3 months ago (2013-09-19 23:26:07 UTC) #20
Charlie Reis
On 2013/09/19 23:26:07, Roger Tawa wrote: > Hi Charlie, > > We're breaking up the ...
7 years, 3 months ago (2013-09-20 00:07:10 UTC) #21
guohui
On 2013/09/20 00:07:10, creis wrote: > On 2013/09/19 23:26:07, Roger Tawa wrote: > > Hi ...
7 years, 3 months ago (2013-09-20 00:43:12 UTC) #22
Charlie Reis
On 2013/09/20 00:43:12, guohui wrote: > my plan is to add browser tests for the ...
7 years, 3 months ago (2013-09-20 00:59:30 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/guohui@chromium.org/23530029/85001
7 years, 3 months ago (2013-09-20 14:44:31 UTC) #24
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=26634
7 years, 3 months ago (2013-09-20 14:54:59 UTC) #25
guohui
+jochen, owner review for chrome/renderer/... +cdn, IPC audit for content/common/browser_plugin/browser_plugin_messages.h
7 years, 3 months ago (2013-09-20 16:01:28 UTC) #26
Cris Neckar
IPC changes LGTM
7 years, 3 months ago (2013-09-20 21:14:00 UTC) #27
jochen (gone - plz use gerrit)
lgtm
7 years, 3 months ago (2013-09-23 11:20:47 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/guohui@chromium.org/23530029/85001
7 years, 3 months ago (2013-09-23 18:36:17 UTC) #29
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-23 18:53:30 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/guohui@chromium.org/23530029/111001
7 years, 3 months ago (2013-09-23 21:09:54 UTC) #31
commit-bot: I haz the power
Failed to trigger a try job on win_rel HTTP Error 400: Bad Request
7 years, 3 months ago (2013-09-23 23:28:22 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/guohui@chromium.org/23530029/131001
7 years, 3 months ago (2013-09-23 23:30:05 UTC) #33
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=82173
7 years, 3 months ago (2013-09-24 10:08:40 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/guohui@chromium.org/23530029/131001
7 years, 3 months ago (2013-09-24 12:48:46 UTC) #35
guohui
7 years, 3 months ago (2013-09-24 17:02:58 UTC) #36
Message was sent while issue was closed.
Committed patchset #11 manually as r225014 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698