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

Issue 1150653002: Add WebRuntimeFeatures::enablePermissionsAPI. (Closed)

Created:
5 years, 7 months ago by timvolodine
Modified:
5 years, 7 months ago
CC:
blink-reviews, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Add WebRuntimeFeatures::enablePermissionsAPI. Add the ability to control whether we want to expose the Permissions API in blink at runtime. This is e.g. needed for WebView where the Permissions API is currently not supported. BUG=489926 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195691

Patch Set 1 #

Total comments: 2

Patch Set 2 : rename to enablePermissionsAPI #

Patch Set 3 : fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M Source/web/WebRuntimeFeatures.cpp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M public/web/WebRuntimeFeatures.h View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
timvolodine
5 years, 7 months ago (2015-05-20 14:11:39 UTC) #2
timvolodine
5 years, 7 months ago (2015-05-20 14:17:35 UTC) #4
timvolodine
5 years, 7 months ago (2015-05-20 14:17:54 UTC) #6
timvolodine
+kbr@ (others seem to be OOO)
5 years, 7 months ago (2015-05-20 18:14:55 UTC) #8
Ken Russell (switch to Gerrit)
LGTM
5 years, 7 months ago (2015-05-20 19:40:10 UTC) #9
Ken Russell (switch to Gerrit)
Note I'm not an OWNER in public. +more OWNERS.
5 years, 7 months ago (2015-05-20 19:40:53 UTC) #11
dglazkov
https://codereview.chromium.org/1150653002/diff/1/public/web/WebRuntimeFeatures.h File public/web/WebRuntimeFeatures.h (right): https://codereview.chromium.org/1150653002/diff/1/public/web/WebRuntimeFeatures.h#newcode104 public/web/WebRuntimeFeatures.h:104: BLINK_EXPORT static void enablePermissions(bool); enablePermissionsAPI maybe?
5 years, 7 months ago (2015-05-20 20:02:06 UTC) #12
Mike West
I agree with dglazkov@: `enablePermissionsAPI` seems more easily understood. Where will this flag be used? ...
5 years, 7 months ago (2015-05-21 11:07:45 UTC) #13
timvolodine
On 2015/05/21 11:07:45, Mike West (holiday in DE) wrote: > I agree with dglazkov@: `enablePermissionsAPI` ...
5 years, 7 months ago (2015-05-21 11:45:59 UTC) #14
timvolodine
ptal https://codereview.chromium.org/1150653002/diff/1/public/web/WebRuntimeFeatures.h File public/web/WebRuntimeFeatures.h (right): https://codereview.chromium.org/1150653002/diff/1/public/web/WebRuntimeFeatures.h#newcode104 public/web/WebRuntimeFeatures.h:104: BLINK_EXPORT static void enablePermissions(bool); On 2015/05/20 20:02:05, dglazkov ...
5 years, 7 months ago (2015-05-21 11:46:15 UTC) #15
dglazkov
lgtm
5 years, 7 months ago (2015-05-21 14:37:25 UTC) #16
Mike West
Sorry, of course. You're not adding a new thing in this patch; you're adding a ...
5 years, 7 months ago (2015-05-21 14:39:14 UTC) #17
timvolodine
On 2015/05/21 14:39:14, Mike West (holiday in DE) wrote: > Sorry, of course. You're not ...
5 years, 7 months ago (2015-05-21 15:02:57 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1150653002/40001
5 years, 7 months ago (2015-05-21 15:03:29 UTC) #21
commit-bot: I haz the power
5 years, 7 months ago (2015-05-21 15:06:48 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=195691

Powered by Google App Engine
This is Rietveld 408576698