Chromium Code Reviews| Index: chrome/browser/ui/webui/settings/site_settings_handler.cc |
| diff --git a/chrome/browser/ui/webui/settings/site_settings_handler.cc b/chrome/browser/ui/webui/settings/site_settings_handler.cc |
| index 160a7934fb6162d8caed0d5c8de8bb64e208ba7d..d4b3dd9171ace60011d5e39665c01e91be96a930 100644 |
| --- a/chrome/browser/ui/webui/settings/site_settings_handler.cc |
| +++ b/chrome/browser/ui/webui/settings/site_settings_handler.cc |
| @@ -224,6 +224,12 @@ void SiteSettingsHandler::OnContentSettingChanged( |
| if (!site_settings::HasRegisteredGroupName(content_type)) |
| return; |
| + // These content types are deprecated and should not trigger a UI update. |
|
Matt Giuca
2016/10/26 04:18:24
I wish I didn't have to do this (it isn't strictly
stevenjb
2016/10/26 19:31:00
Could you add a TODO with a bug link? Generally mo
Matt Giuca
2016/10/26 23:26:47
Done.
|
| + if (content_type == CONTENT_SETTINGS_TYPE_FULLSCREEN || |
| + content_type == CONTENT_SETTINGS_TYPE_MOUSELOCK) { |
| + return; |
| + } |
| + |
| if (primary_pattern.ToString().empty()) { |
| CallJavascriptFunction( |
| "cr.webUIListenerCallback", |