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

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

Issue 1274383002: Remove deprecated CONTENT_SETTINGS_TYPE_METRO_SWITCH_TO_DESKTOP content setting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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/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 3350692ed36dd3a571e76a21349e9fc68d21d6b6..41bb7f5ea4baaade2f99eb05d3a9b853e1045ccd 100644
--- a/chrome/browser/ui/webui/options/content_settings_handler.cc
+++ b/chrome/browser/ui/webui/options/content_settings_handler.cc
@@ -766,10 +766,6 @@ void ContentSettingsHandler::UpdateExceptionsViewFromModel(
// supposed to be set by flags and field trials only, thus there is no
// user facing UI for this content type and we skip it here.
break;
-#if defined(OS_WIN)
- case CONTENT_SETTINGS_TYPE_METRO_SWITCH_TO_DESKTOP:
- break;
-#endif
case CONTENT_SETTINGS_TYPE_APP_BANNER:
// The content settings type CONTENT_SETTINGS_TYPE_APP_BANNER is used to
// track whether app banners should be shown or not, and is not a user
@@ -797,9 +793,6 @@ void ContentSettingsHandler::UpdateOTRExceptionsViewFromModel(
case CONTENT_SETTINGS_TYPE_NOTIFICATIONS:
case CONTENT_SETTINGS_TYPE_AUTO_SELECT_CERTIFICATE:
case CONTENT_SETTINGS_TYPE_MIXEDSCRIPT:
-#if defined(OS_WIN)
- case CONTENT_SETTINGS_TYPE_METRO_SWITCH_TO_DESKTOP:
-#endif
case CONTENT_SETTINGS_TYPE_MEDIASTREAM:
case CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC:
case CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA:

Powered by Google App Engine
This is Rietveld 408576698