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

Issue 572633003: Enable webview tag in webui (Closed)

Created:
6 years, 3 months ago by guohui
Modified:
6 years, 3 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, arv+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Enable webview tag in whitelisted webui pages, following the example of <extensionoptions>. Only whitelisted webUIs could embed webview tag, specifically, they have to be declared in _api_features.json and they have to relax CSP to allow internal browser plugins. BUG= Committed: https://crrev.com/6dca78447b0a307b939238a6537d2ca668a559bd Cr-Commit-Position: refs/heads/master@{#296251}

Patch Set 1 : #

Patch Set 2 : fix object-src #

Total comments: 10

Patch Set 3 : nits fixed #

Patch Set 4 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -26 lines) Patch
M chrome/browser/ui/webui/signin/inline_login_ui.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/_api_features.json View 1 2 3 3 chunks +12 lines, -8 lines 0 comments Download
M extensions/browser/guest_view/app_view/app_view_guest.h View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/guest_view/app_view/app_view_guest.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/guest_view/extension_options/extension_options_guest.h View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/guest_view/extension_options/extension_options_guest.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/guest_view/guest_view_base.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/guest_view/guest_view_base.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.h View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_guest.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_guest.cc View 1 2 3 4 chunks +13 lines, -6 lines 0 comments Download
M extensions/common/api/_api_features.json View 1 2 2 chunks +8 lines, -11 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
guohui
Hey Fady, could you please take a look at the CL? Thanks, Hui
6 years, 3 months ago (2014-09-18 22:35:44 UTC) #3
guohui
On 2014/09/18 22:35:44, guohui wrote: > Hey Fady, > > could you please take a ...
6 years, 3 months ago (2014-09-18 22:38:58 UTC) #4
Fady Samuel
Please also update chromeWebViewInternal: https://code.google.com/p/chromium/codesearch#chromium/src/chrome/common/extensions/api/_api_features.json&q=_api_features.json&sq=package:chromium&type=cs&l=196 Thanks!
6 years, 3 months ago (2014-09-18 22:42:46 UTC) #5
Fady Samuel
Sorry, I missed your change, lgtm.
6 years, 3 months ago (2014-09-19 20:25:26 UTC) #6
guohui
+rockot@ for owner review of _api_features.json
6 years, 3 months ago (2014-09-22 18:49:15 UTC) #8
Ken Rockot(use gerrit already)
Generally looks OK, but I have no context for why these features are being turned ...
6 years, 3 months ago (2014-09-22 20:47:33 UTC) #10
guohui
https://codereview.chromium.org/572633003/diff/60001/chrome/common/extensions/api/_api_features.json File chrome/common/extensions/api/_api_features.json (left): https://codereview.chromium.org/572633003/diff/60001/chrome/common/extensions/api/_api_features.json#oldcode734 chrome/common/extensions/api/_api_features.json:734: "dependencies": ["permission:webview"], On 2014/09/22 20:47:32, Ken Rockot wrote: > ...
6 years, 3 months ago (2014-09-22 20:58:59 UTC) #11
Ken Rockot(use gerrit already)
OK - As long as no existing component extensions are depending on this behavior, LGTM
6 years, 3 months ago (2014-09-22 21:15:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/572633003/80001
6 years, 3 months ago (2014-09-22 21:21:15 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/69864) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/59179) android_chromium_gn_compile_dbg ...
6 years, 3 months ago (2014-09-22 21:26:03 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/572633003/100001
6 years, 3 months ago (2014-09-23 20:30:24 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:100001) as 318dff34d2f1ccd89eccadde3a1fb61e605af07f
6 years, 3 months ago (2014-09-23 21:21:29 UTC) #19
commit-bot: I haz the power
6 years, 3 months ago (2014-09-23 21:22:09 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6dca78447b0a307b939238a6537d2ca668a559bd
Cr-Commit-Position: refs/heads/master@{#296251}

Powered by Google App Engine
This is Rietveld 408576698