Index: chrome/browser/ui/webui/options/content_settings_handler.cc |
diff --git a/chrome/browser/ui/webui/options/content_settings_handler.cc b/chrome/browser/ui/webui/options/content_settings_handler.cc |
index 580c69341ff0b10c7b54ea606b9541f5d8254f73..e43a806f40b02e32ebfbba4d814b5187b99df9f1 100644 |
--- a/chrome/browser/ui/webui/options/content_settings_handler.cc |
+++ b/chrome/browser/ui/webui/options/content_settings_handler.cc |
@@ -506,9 +506,6 @@ void ContentSettingsHandler::GetLocalizedValues( |
{"mouselockTabLabel", IDS_MOUSE_LOCK_TAB_LABEL}, |
{"mouselockHeader", IDS_MOUSE_LOCK_HEADER}, |
{"mouselockDeprecated", IDS_EXCLUSIVE_ACCESS_DEPRECATED}, |
- {"mouselockAllow", IDS_MOUSE_LOCK_ALLOW_RADIO}, |
- {"mouselockAsk", IDS_MOUSE_LOCK_ASK_RADIO}, |
- {"mouselockBlock", IDS_MOUSE_LOCK_BLOCK_RADIO}, |
#if defined(OS_CHROMEOS) || defined(OS_WIN) |
// Protected Content filter |
{"protectedContentTabLabel", IDS_PROTECTED_CONTENT_TAB_LABEL}, |
@@ -714,16 +711,6 @@ void ContentSettingsHandler::InitializePage() { |
UpdateAllExceptionsViewsFromModel(); |
UpdateAllChooserExceptionsViewsFromModel(); |
UpdateProtectedContentExceptionsButton(); |
- |
- // Fullscreen and mouselock settings are ignored, but still stored. Always |
- // show the per-site settings (to give users the ability to view and delete |
- // exceptions), but hide the global settings. |
- // TODO(mgiuca): Remove this function and the global setting UI |
- // (https://crbug.com/610900). Then, delete all the per-site data and remove |
- // this content setting entirely (https://crbug.com/591896). |
- web_ui()->CallJavascriptFunction("ContentSettings.setExclusiveAccessVisible", |
- base::FundamentalValue(true), |
- base::FundamentalValue(false)); |
} |
void ContentSettingsHandler::OnContentSettingChanged( |