Android: Request OS permissions directly from page info popup where possible.
commitdadbb8db7d629f9808ea8ee28f4a3839bae95e5a
authortsergeant <tsergeant@chromium.org>
Wed, 8 Jul 2015 03:04:42 +0000 (7 20:04 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 8 Jul 2015 03:05:18 +0000 (8 03:05 +0000)
treebc14db3ab0fa768e14617e26f3b785f16ab9ef14
parentb1cc754882d36ceb47277cb26b0fa479646c3b3f
Android: Request OS permissions directly from page info popup where possible.

When a content setting is allowed for a page, but the corresponding Android
M permission is not granted to Chrome, the page info popup will directly
perform a permission request if it is allowed to, rather than opening the App
settings.

BUG=499396

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

Cr-Commit-Position: refs/heads/master@{#337759}
chrome/android/java/res/values/ids.xml
chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java
chrome/browser/ui/android/website_settings_popup_android.cc