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

Unified Diff: chrome/browser/ui/website_settings/website_settings.cc

Issue 2039803002: Unregister Images, Plugins and Mouselock content settings on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@only_register_platform_used_contentsettingtypes
Patch Set: address review comments, minor change Created 4 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/browser/ui/website_settings/website_settings.cc
diff --git a/chrome/browser/ui/website_settings/website_settings.cc b/chrome/browser/ui/website_settings/website_settings.cc
index 42bfcaee6125a106e6f80040c3a595899d08058b..eb8ff4ba20f1680ac71fb1064e46c6322a983106 100644
--- a/chrome/browser/ui/website_settings/website_settings.cc
+++ b/chrome/browser/ui/website_settings/website_settings.cc
@@ -105,13 +105,17 @@ ContentSettingsType kPermissionType[] = {
CONTENT_SETTINGS_TYPE_PUSH_MESSAGING,
#endif
CONTENT_SETTINGS_TYPE_JAVASCRIPT,
+#if !defined(OS_ANDROID)
CONTENT_SETTINGS_TYPE_PLUGINS,
CONTENT_SETTINGS_TYPE_IMAGES,
+#endif
CONTENT_SETTINGS_TYPE_POPUPS,
CONTENT_SETTINGS_TYPE_BACKGROUND_SYNC,
CONTENT_SETTINGS_TYPE_KEYGEN,
CONTENT_SETTINGS_TYPE_AUTOMATIC_DOWNLOADS,
+#if !defined(OS_ANDROID)
CONTENT_SETTINGS_TYPE_MOUSELOCK,
+#endif
CONTENT_SETTINGS_TYPE_FULLSCREEN,
CONTENT_SETTINGS_TYPE_MIDI_SYSEX,
};

Powered by Google App Engine
This is Rietveld 408576698