| Index: chrome/browser/ui/webui/options/content_settings_handler.h
|
| diff --git a/chrome/browser/ui/webui/options/content_settings_handler.h b/chrome/browser/ui/webui/options/content_settings_handler.h
|
| index 3cd3e566cb307296a768af528de76907d710cd3d..78a2e3fafbdd1fb5ebc679e6906d9994b58df092 100644
|
| --- a/chrome/browser/ui/webui/options/content_settings_handler.h
|
| +++ b/chrome/browser/ui/webui/options/content_settings_handler.h
|
| @@ -21,6 +21,7 @@
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
|
|
| +struct ChooserTypeNameEntry;
|
| class HostContentSettingsMap;
|
| class ProtocolHandlerRegistry;
|
|
|
| @@ -149,6 +150,14 @@ class ContentSettingsHandler : public OptionsPageUIHandler,
|
| // Clobbers and rebuilds just the MIDI SysEx exception table.
|
| void UpdateMIDISysExExceptionsView();
|
|
|
| + // Clobbers and rebuilds all chooser-based exception tables.
|
| + void UpdateAllChooserExceptionsViewsFromModel();
|
| +
|
| + // Clobbers and rebuilds the exception table for a particular chooser-based
|
| + // permission.
|
| + void UpdateChooserExceptionsViewFromModel(
|
| + const ChooserTypeNameEntry& chooser_type);
|
| +
|
| // Modifies the zoom level exceptions list to display correct chrome
|
| // signin page entry. When the legacy (non-WebView-based) signin page
|
| // goes away, this function can be removed.
|
| @@ -187,6 +196,11 @@ class ContentSettingsHandler : public OptionsPageUIHandler,
|
| // RemoveException().
|
| void RemoveZoomLevelException(const base::ListValue* args);
|
|
|
| + // Removes one exception for a chooser-based permission. |args| contains the
|
| + // parameters passed to RemoveException().
|
| + void RemoveChooserException(const ChooserTypeNameEntry* chooser_type,
|
| + const base::ListValue* args);
|
| +
|
| // Callbacks used by the page ------------------------------------------------
|
|
|
| // Sets the default value for a specific content type. |args| includes the
|
|
|