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

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

Issue 1372353004: Making structure for ContentSettings and its corresponding strings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing nits. Created 5 years, 2 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_exceptions_area.js
diff --git a/chrome/browser/resources/options/content_settings_exceptions_area.js b/chrome/browser/resources/options/content_settings_exceptions_area.js
index 273c130f2182d66a095ade3ccb7093ae445453a6..03ad5aeda3a43cb492ff303eaa9c0f1062b8407d 100644
--- a/chrome/browser/resources/options/content_settings_exceptions_area.js
+++ b/chrome/browser/resources/options/content_settings_exceptions_area.js
@@ -86,14 +86,14 @@ cr.define('options.contentSettings', function() {
if (this.contentType == 'plugins') {
var optionDetect = cr.doc.createElement('option');
optionDetect.textContent = loadTimeData.getString('detectException');
- optionDetect.value = 'detect';
+ optionDetect.value = 'detect_important_content';
select.appendChild(optionDetect);
}
if (this.contentType == 'cookies') {
var optionSession = cr.doc.createElement('option');
optionSession.textContent = loadTimeData.getString('sessionException');
- optionSession.value = 'session';
+ optionSession.value = 'session_only';
select.appendChild(optionSession);
}
@@ -265,9 +265,9 @@ cr.define('options.contentSettings', function() {
return loadTimeData.getString('blockException');
else if (setting == 'ask')
return loadTimeData.getString('askException');
- else if (setting == 'session')
+ else if (setting == 'session_only')
return loadTimeData.getString('sessionException');
- else if (setting == 'detect')
+ else if (setting == 'detect_important_content')
return loadTimeData.getString('detectException');
else if (setting == 'default')
return '';
« no previous file with comments | « chrome/browser/resources/options/content_settings.html ('k') | chrome/browser/ui/webui/options/content_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698