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

Unified Diff: chrome/browser/resources/options/content_settings.js

Issue 3299020: Remove vestigial cookie/web app permissions prompting UI now that the async U... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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/resources/options/content_settings.js
===================================================================
--- chrome/browser/resources/options/content_settings.js (revision 59533)
+++ chrome/browser/resources/options/content_settings.js (working copy)
@@ -84,18 +84,6 @@
};
/**
- * Called to set whether we show certain UI related to the cookies prompt.
- * @param {boolean} enabled The value --enable-cookies-prompt.
- * that group.
- */
- ContentSettings.setCookiesPromptEnabled = function(enabled) {
- cookiesExceptionsList.enableAskOption = enabled;
-
- if (!enabled)
- $('cookiesAskRadio').classList.add('hidden');
- }
-
- /**
* Initializes an exceptions list.
* @param {string} type The content type that we are setting exceptions for.
* @param {Array} list An array of pairs, where the first element of each pair

Powered by Google App Engine
This is Rietveld 408576698