Commit ad772bc7 authored by finnur's avatar finnur Committed by Commit bot

Show the full screen permission on the Site Details page.

BUG=489239

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

Cr-Commit-Position: refs/heads/master@{#330369}
parent 00fd898b
......@@ -38,6 +38,8 @@
android:key="location_access_list" />
<org.chromium.chrome.browser.preferences.ChromeBaseListPreference
android:key="push_notifications_list" />
<org.chromium.chrome.browser.preferences.ChromeBaseListPreference
android:key="fullscreen_permission_list" />
<org.chromium.chrome.browser.preferences.ChromeBaseListPreference
android:key="midi_sysex_permission_list" />
<org.chromium.chrome.browser.preferences.ChromeBaseListPreference
......
......@@ -274,6 +274,7 @@ public class SingleWebsitePreferences extends PreferenceFragment
setUpListPreference(preference, mSite.getCookiePermission());
} else if (PREF_FULLSCREEN_PERMISSION.equals(preference.getKey())) {
setUpListPreference(preference, mSite.getFullscreenPermission());
preference.setEnabled(false);
} else if (PREF_IMAGES_PERMISSION.equals(preference.getKey())) {
setUpListPreference(preference, mSite.getImagesPermission());
} else if (PREF_JAVASCRIPT_PERMISSION.equals(preference.getKey())) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment