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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java

Issue 2470043002: Android: Clean up dead code involving now-removed Fullscreen permission. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/preferences/website/FullscreenInfo.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ecf39a5b97eaad777b2f354bfd8c38b95ad508a6..49fd1cf6db6c84d2c8ddf600e016d1935ae91c6f 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
@@ -451,15 +451,6 @@ 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() {
@@ -607,20 +598,6 @@ 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() {
@@ -1086,8 +1063,6 @@ public final class PrefServiceBridge {
private native void nativeSetMicEnabled(boolean allow);
private native boolean nativeGetMicUserModifiable();
private native boolean nativeGetMicManagedByCustodian();
- private native boolean nativeGetFullscreenAllowed();
- private native boolean nativeGetFullscreenManaged();
private native boolean nativeGetTranslateEnabled();
private native boolean nativeGetTranslateManaged();
private native boolean nativeGetResolveNavigationErrorEnabled();
@@ -1119,7 +1094,6 @@ public final class PrefServiceBridge {
private native void nativeSetBackgroundSyncEnabled(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 nativeSetPasswordManagerAutoSigninEnabled(boolean enabled);
private native void nativeSetProtectedMediaIdentifierEnabled(boolean enabled);
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/preferences/website/FullscreenInfo.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698