Add kDisablePermissionsAPI content flag and disable it for WebView.
commit499a4ee476e5b3985a6fcbf76ed20432588333de
authortimvolodine <timvolodine@chromium.org>
Fri, 22 May 2015 13:59:25 +0000 (22 06:59 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 22 May 2015 13:59:52 +0000 (22 13:59 +0000)
tree9997127907c38de1d21a1722473f5af5d179a7c0
parente0542708b61a7a8dd29200d083ab254b4ef0ea98
Add kDisablePermissionsAPI content flag and disable it for WebView.

The Permissions API is currently not supported on WebView.
This patch adds a content flag and disables this api for WebView.

NOTE:
This patch should land after the blink-side patch crrev.com/1150653002.

BUG=489926

Review URL: https://codereview.chromium.org/1144923003

Cr-Commit-Position: refs/heads/master@{#331100}
android_webview/lib/main/aw_main_delegate.cc
content/browser/renderer_host/render_process_host_impl.cc
content/child/runtime_features.cc
content/public/common/content_switches.cc
content/public/common/content_switches.h