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

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

Issue 10782038: Revert 147045 - Bring up a content settings icon for ungestured registerProtocolHandler call. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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/views/external_tab_container_win.cc ('k') | chrome/chrome_browser.gypi » ('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
===================================================================
--- chrome/browser/ui/webui/options2/content_settings_handler.cc (revision 147078)
+++ chrome/browser/ui/webui/options2/content_settings_handler.cc (working copy)
@@ -340,7 +340,6 @@
{CONTENT_SETTINGS_TYPE_FULLSCREEN, "fullscreen"},
{CONTENT_SETTINGS_TYPE_MOUSELOCK, "mouselock"},
{CONTENT_SETTINGS_TYPE_MIXEDSCRIPT, "mixed-script"},
- {CONTENT_SETTINGS_TYPE_PROTOCOL_HANDLERS, "register-protocol-handler"},
{EX_CONTENT_SETTINGS_TYPE_PEPPER_FLASH_CAMERAMIC, "pepper-flash-cameramic"},
{CONTENT_SETTINGS_TYPE_MEDIASTREAM, "media-stream"},
};
@@ -658,9 +657,6 @@
// for this content type and we skip it here.
if (type == CONTENT_SETTINGS_TYPE_AUTO_SELECT_CERTIFICATE)
continue;
- // The RPH settings are retrieved separately.
- if (type == CONTENT_SETTINGS_TYPE_PROTOCOL_HANDLERS)
- continue;
UpdateExceptionsViewFromModel(ExContentSettingsType(type));
}
}
@@ -691,10 +687,6 @@
case CONTENT_SETTINGS_TYPE_MIXEDSCRIPT:
// We don't yet support exceptions for mixed scripting.
break;
- case CONTENT_SETTINGS_TYPE_AUTO_SELECT_CERTIFICATE:
- break;
- case CONTENT_SETTINGS_TYPE_PROTOCOL_HANDLERS:
- break;
default:
UpdateExceptionsViewFromHostContentSettingsMap(
type.ToContentSettingsType());
« no previous file with comments | « chrome/browser/ui/views/external_tab_container_win.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698