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

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

Issue 1221833002: Remove the Images category from Site Settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months 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 e4a8c8f3d6d31bc3fdc4055a6945aaf5d69a4de3..1d8bfaade49bc0b315a80d6d5c60892a77678905 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
@@ -31,7 +31,6 @@ public class Website implements Serializable {
private GeolocationInfo mGeolocationInfo;
private MicrophoneInfo mMicrophoneInfo;
private MidiInfo mMidiInfo;
- private ContentSettingException mImagesException;
private ContentSettingException mJavaScriptException;
private ContentSettingException mPopupException;
private ProtectedMediaIdentifierInfo mProtectedMediaIdentifierInfo;
@@ -165,29 +164,6 @@ public class Website implements Serializable {
}
/**
- * Returns what permission governs Images access.
- */
- public ContentSetting getImagesPermission() {
- return mImagesException != null ? mImagesException.getContentSetting() : null;
- }
-
- /**
- * Configure Images permission access setting for this site.
- */
- public void setImagesPermission(ContentSetting value) {
- if (mImagesException != null) {
- mImagesException.setContentSetting(value);
- }
- }
-
- /**
- * Sets the Images exception info for this Website.
- */
- public void setImagesException(ContentSettingException exception) {
- mImagesException = exception;
- }
-
- /**
* Returns what permission governs JavaScript access.
*/
public ContentSetting getJavaScriptPermission() {

Powered by Google App Engine
This is Rietveld 408576698