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

Unified Diff: chrome/browser/ui/webui/options2/content_settings_handler.cc

Issue 10689116: Cleanup: better session restore UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 8 years, 5 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
« no previous file with comments | « chrome/browser/ui/webui/options2/browser_options_handler.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options2/content_settings_handler.cc
diff --git a/chrome/browser/ui/webui/options2/content_settings_handler.cc b/chrome/browser/ui/webui/options2/content_settings_handler.cc
index cbcdb80dbf36f70f17d7603cf934da43b3a6b9aa..176b0eba6403379979fc5219a03e48c0a88e6d70 100644
--- a/chrome/browser/ui/webui/options2/content_settings_handler.cc
+++ b/chrome/browser/ui/webui/options2/content_settings_handler.cc
@@ -476,10 +476,6 @@ void ContentSettingsHandler::GetLocalizedValues(
localized_strings->SetBoolean(
"enable_web_intents",
web_intents::IsWebIntentsEnabledForProfile(profile));
- // TODO(marja): clean up the options UI after the decision on the session
- // restore changes has stabilized.
- localized_strings->SetBoolean(
- "enable_restore_session_state", false);
}
void ContentSettingsHandler::InitializeHandler() {
@@ -620,8 +616,6 @@ void ContentSettingsHandler::UpdateSettingDefaultFromModel(
web_ui()->CallJavascriptFunction(
"ContentSettings.setContentFilterSettingsValue", filter_settings);
- web_ui()->CallJavascriptFunction(
- "BrowserOptions.setContentFilterSettingsValue", filter_settings);
}
std::string ContentSettingsHandler::GetSettingDefaultFromModel(
« no previous file with comments | « chrome/browser/ui/webui/options2/browser_options_handler.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698