| Index: chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java
|
| index 63d6df5d9c3f85ee11158695573f565564f4512e..8eefdc724e51d40d6f260bbcc706f2f04dbc8bac 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java
|
| @@ -328,6 +328,15 @@ public final class PrefServiceBridge {
|
| }
|
|
|
| /**
|
| + * Allow fullscreen without asking user for permission.
|
| + *
|
| + * @param allowed Whether to allow fullscreen without user permission.
|
| + */
|
| + public void setFullscreenAllowed(boolean allowed) {
|
| + nativeSetFullscreenAllowed(allowed);
|
| + }
|
| +
|
| + /**
|
| * @return whether Search Suggest is enabled.
|
| */
|
| public boolean isSearchSuggestEnabled() {
|
| @@ -449,6 +458,20 @@ public final class PrefServiceBridge {
|
| }
|
|
|
| /**
|
| + * @return whether fullscreen is configured by policy.
|
| + */
|
| + public boolean isFullscreenManaged() {
|
| + return nativeGetFullscreenManaged();
|
| + }
|
| +
|
| + /**
|
| + * @return whether fullscreen is allowed.
|
| + */
|
| + public boolean isFullscreenAllowed() {
|
| + return nativeGetFullscreenAllowed();
|
| + }
|
| +
|
| + /**
|
| * @return whether the web service to resolve navigation error is enabled.
|
| */
|
| public boolean isResolveNavigationErrorEnabled() {
|
| @@ -782,6 +805,8 @@ public final class PrefServiceBridge {
|
| private native boolean nativeGetJavaScriptManaged();
|
| private native boolean nativeGetCameraMicUserModifiable();
|
| private native boolean nativeGetCameraMicManagedByCustodian();
|
| + private native boolean nativeGetFullscreenAllowed();
|
| + private native boolean nativeGetFullscreenManaged();
|
| private native boolean nativeGetTranslateEnabled();
|
| private native boolean nativeGetTranslateManaged();
|
| private native boolean nativeGetResolveNavigationErrorEnabled();
|
| @@ -806,6 +831,7 @@ public final class PrefServiceBridge {
|
| private native void nativeSetAllowCookiesEnabled(boolean allow);
|
| private native void nativeSetBlockThirdPartyCookiesEnabled(boolean enabled);
|
| private native void nativeSetDoNotTrackEnabled(boolean enabled);
|
| + private native void nativeSetFullscreenAllowed(boolean allowed);
|
| private native void nativeSetRememberPasswordsEnabled(boolean allow);
|
| private native void nativeSetProtectedMediaIdentifierEnabled(boolean enabled);
|
| private native boolean nativeGetAllowLocationEnabled();
|
|
|