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

Issue 24243007: Allow webview API in an unblessed extension process (Closed)

Created:
7 years, 3 months ago by guohui
Modified:
7 years, 2 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, Roger Tawa OOO till Jul 10th
Visibility:
Public.

Description

Allow webview API in an unblessed extension process BUG=293724 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=225493

Patch Set 1 #

Total comments: 4

Patch Set 2 : comments fixed #

Total comments: 2

Patch Set 3 : nits fixed #

Patch Set 4 : rebased and comments added #

Total comments: 8

Patch Set 5 : add abstract class and fix comments #

Total comments: 2

Patch Set 6 : todo added #

Patch Set 7 : rebased #

Patch Set 8 : fixed style error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -66 lines) Patch
M chrome/browser/extensions/api/webview/webview_api.h View 1 2 3 4 5 6 7 10 chunks +49 lines, -25 lines 0 comments Download
M chrome/browser/extensions/api/webview/webview_api.cc View 1 2 3 4 5 6 9 chunks +17 lines, -39 lines 0 comments Download
M chrome/common/extensions/api/_api_features.json View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/dispatcher.cc View 1 2 3 4 5 6 1 chunk +10 lines, -1 line 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest_manager.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
guohui
Hey, could you please take a look at the CL? For motivation, please refer to ...
7 years, 3 months ago (2013-09-19 18:15:26 UTC) #1
guohui
Hey, could you please take a look at the CL? For motivation, please refer to ...
7 years, 3 months ago (2013-09-19 18:15:28 UTC) #2
Fady Samuel
https://codereview.chromium.org/24243007/diff/1/chrome/renderer/extensions/dispatcher.cc File chrome/renderer/extensions/dispatcher.cc (right): https://codereview.chromium.org/24243007/diff/1/chrome/renderer/extensions/dispatcher.cc#newcode1118 chrome/renderer/extensions/dispatcher.cc:1118: // the <webview> tag, because the "webView" and "denyWebView" ...
7 years, 3 months ago (2013-09-19 18:50:49 UTC) #3
guohui
https://codereview.chromium.org/24243007/diff/1/chrome/renderer/extensions/dispatcher.cc File chrome/renderer/extensions/dispatcher.cc (right): https://codereview.chromium.org/24243007/diff/1/chrome/renderer/extensions/dispatcher.cc#newcode1118 chrome/renderer/extensions/dispatcher.cc:1118: // the <webview> tag, because the "webView" and "denyWebView" ...
7 years, 3 months ago (2013-09-19 19:32:29 UTC) #4
Fady Samuel
https://codereview.chromium.org/24243007/diff/9001/chrome/renderer/extensions/dispatcher.cc File chrome/renderer/extensions/dispatcher.cc (right): https://codereview.chromium.org/24243007/diff/9001/chrome/renderer/extensions/dispatcher.cc#newcode1118 chrome/renderer/extensions/dispatcher.cc:1118: // the <webview> tag, because the "denyWebView" modules will ...
7 years, 3 months ago (2013-09-19 19:52:14 UTC) #5
guohui1
https://codereview.chromium.org/24243007/diff/9001/chrome/renderer/extensions/dispatcher.cc File chrome/renderer/extensions/dispatcher.cc (right): https://codereview.chromium.org/24243007/diff/9001/chrome/renderer/extensions/dispatcher.cc#newcode1118 chrome/renderer/extensions/dispatcher.cc:1118: // the <webview> tag, because the "denyWebView" modules will ...
7 years, 3 months ago (2013-09-19 20:04:48 UTC) #6
Charlie Reis
Seems right to me, once we verify that this is a safe thing to do.
7 years, 3 months ago (2013-09-19 21:41:03 UTC) #7
guohui1
On 2013/09/19 21:41:03, creis wrote: > Seems right to me, once we verify that this ...
7 years, 3 months ago (2013-09-19 21:45:15 UTC) #8
Charlie Reis
On 2013/09/19 21:45:15, guohui1 wrote: > On 2013/09/19 21:41:03, creis wrote: > > Seems right ...
7 years, 3 months ago (2013-09-19 22:05:40 UTC) #9
not at google - send to devlin
On 2013/09/19 21:45:15, guohui1 wrote: > On 2013/09/19 21:41:03, creis wrote: > > Seems right ...
7 years, 3 months ago (2013-09-20 15:59:21 UTC) #10
Fady Samuel
On 2013/09/20 15:59:21, kalman wrote: > On 2013/09/19 21:45:15, guohui1 wrote: > > On 2013/09/19 ...
7 years, 3 months ago (2013-09-20 16:05:34 UTC) #11
not at google - send to devlin
On 2013/09/20 16:05:34, Fady Samuel wrote: > On 2013/09/20 15:59:21, kalman wrote: > > On ...
7 years, 3 months ago (2013-09-20 16:41:27 UTC) #12
guohui
On 2013/09/20 16:41:27, kalman wrote: > On 2013/09/20 16:05:34, Fady Samuel wrote: > > On ...
7 years, 3 months ago (2013-09-23 19:00:37 UTC) #13
meacer
I did sort of a drive-by review upon Charlie's request. I don't know the code ...
7 years, 3 months ago (2013-09-24 00:08:22 UTC) #14
Fady Samuel
On 2013/09/24 00:08:22, Mustafa Emre Acer wrote: > I did sort of a drive-by review ...
7 years, 3 months ago (2013-09-24 20:25:24 UTC) #15
Fady Samuel
On 2013/09/24 00:08:22, Mustafa Emre Acer wrote: > I did sort of a drive-by review ...
7 years, 3 months ago (2013-09-24 20:25:24 UTC) #16
Charlie Reis
On 2013/09/24 20:25:24, Fady Samuel wrote: > On 2013/09/24 00:08:22, Mustafa Emre Acer wrote: > ...
7 years, 3 months ago (2013-09-24 20:57:49 UTC) #17
Charlie Reis
As mentioned in comment 1 of the bug, we'll want to add clear warnings to ...
7 years, 3 months ago (2013-09-24 22:19:20 UTC) #18
guohui
On 2013/09/24 22:19:20, creis wrote: > As mentioned in comment 1 of the bug, we'll ...
7 years, 2 months ago (2013-09-25 15:58:53 UTC) #19
not at google - send to devlin
some more thoughts. https://codereview.chromium.org/24243007/diff/28001/chrome/browser/extensions/api/webview/webview_api.h File chrome/browser/extensions/api/webview/webview_api.h (right): https://codereview.chromium.org/24243007/diff/28001/chrome/browser/extensions/api/webview/webview_api.h#newcode12 chrome/browser/extensions/api/webview/webview_api.h:12: // renderer processes. To enforce this ...
7 years, 2 months ago (2013-09-25 17:14:02 UTC) #20
Charlie Reis
Thanks! Minor nit below, and just waiting to see if Mustafa has any further thoughts. ...
7 years, 2 months ago (2013-09-25 17:25:18 UTC) #21
guohui
https://codereview.chromium.org/24243007/diff/28001/chrome/browser/extensions/api/webview/webview_api.h File chrome/browser/extensions/api/webview/webview_api.h (right): https://codereview.chromium.org/24243007/diff/28001/chrome/browser/extensions/api/webview/webview_api.h#newcode12 chrome/browser/extensions/api/webview/webview_api.h:12: // renderer processes. On 2013/09/25 17:14:03, kalman wrote: > ...
7 years, 2 months ago (2013-09-25 22:43:51 UTC) #22
Charlie Reis
Thanks for abstracting out the check. LGTM.
7 years, 2 months ago (2013-09-25 22:48:43 UTC) #23
not at google - send to devlin
lgtm with that parting comment (not necessarily actionable) https://codereview.chromium.org/24243007/diff/41001/chrome/browser/extensions/api/webview/webview_api.h File chrome/browser/extensions/api/webview/webview_api.h (right): https://codereview.chromium.org/24243007/diff/41001/chrome/browser/extensions/api/webview/webview_api.h#newcode12 chrome/browser/extensions/api/webview/webview_api.h:12: // ...
7 years, 2 months ago (2013-09-25 23:46:46 UTC) #24
guohui
https://codereview.chromium.org/24243007/diff/41001/chrome/browser/extensions/api/webview/webview_api.h File chrome/browser/extensions/api/webview/webview_api.h (right): https://codereview.chromium.org/24243007/diff/41001/chrome/browser/extensions/api/webview/webview_api.h#newcode12 chrome/browser/extensions/api/webview/webview_api.h:12: // APIs must extend WebviewExtensionFunction/WebviewExecuteCodeFunction which On 2013/09/25 23:46:46, ...
7 years, 2 months ago (2013-09-26 13:57:59 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/guohui@chromium.org/24243007/45001
7 years, 2 months ago (2013-09-26 13:58:51 UTC) #26
commit-bot: I haz the power
Failed to apply patch for chrome/browser/extensions/api/webview/webview_api.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 2 months ago (2013-09-26 13:58:54 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/guohui@chromium.org/24243007/55001
7 years, 2 months ago (2013-09-26 14:31:23 UTC) #28
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 2 months ago (2013-09-26 14:56:00 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/guohui@chromium.org/24243007/79001
7 years, 2 months ago (2013-09-26 15:00:59 UTC) #30
commit-bot: I haz the power
7 years, 2 months ago (2013-09-26 17:44:20 UTC) #31
Message was sent while issue was closed.
Change committed as 225493

Powered by Google App Engine
This is Rietveld 408576698