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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/preferences/website/Website.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
Index: chrome/android/java/src/org/chromium/chrome/browser/preferences/website/Website.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/Website.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/Website.java
index 9cc21187733ebbbd5e72d43b9050e39db2a10887..d5440545aa6c2d5a41c96c153a397d144b4a9b39 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/Website.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/Website.java
@@ -30,7 +30,6 @@ public class Website implements Serializable {
private ContentSettingException mBackgroundSyncExceptionInfo;
private CameraInfo mCameraInfo;
private ContentSettingException mCookieException;
- private FullscreenInfo mFullscreenInfo;
private GeolocationInfo mGeolocationInfo;
private ContentSettingException mJavaScriptException;
private KeygenInfo mKeygenInfo;
@@ -187,40 +186,6 @@ public class Website implements Serializable {
}
/**
- * Set fullscreen permission information class.
- *
- * @param info Fullscreen information about the website.
- */
- public void setFullscreenInfo(FullscreenInfo info) {
- mFullscreenInfo = info;
- }
-
- /**
- * @return fullscreen information of the site.
- */
- public FullscreenInfo getFullscreenInfo() {
- return mFullscreenInfo;
- }
-
- /**
- * @return what permission governs fullscreen access.
- */
- public ContentSetting getFullscreenPermission() {
- return mFullscreenInfo != null ? mFullscreenInfo.getContentSetting() : null;
- }
-
- /**
- * Configure fullscreen setting for this site.
- *
- * @param value Content setting for fullscreen permission.
- */
- public void setFullscreenPermission(ContentSetting value) {
- if (mFullscreenInfo != null) {
- mFullscreenInfo.setContentSetting(value);
- }
- }
-
- /**
* Sets the GeoLocationInfo object for this Website.
*/
public void setGeolocationInfo(GeolocationInfo info) {

Powered by Google App Engine
This is Rietveld 408576698