| Index: chrome/browser/ui/website_settings/website_settings.h
|
| diff --git a/chrome/browser/ui/website_settings/website_settings.h b/chrome/browser/ui/website_settings/website_settings.h
|
| index 66b8ea7a810c1d91052566c037c16522ec77f11c..0eec89845557a9c836513b7523e8e52ec9a5351d 100644
|
| --- a/chrome/browser/ui/website_settings/website_settings.h
|
| +++ b/chrome/browser/ui/website_settings/website_settings.h
|
| @@ -101,6 +101,7 @@ class WebsiteSettings : public TabSpecificContentSettings::SiteDataObserver,
|
| WEBSITE_SETTINGS_CONNECTION_HELP_OPENED = 8,
|
| WEBSITE_SETTINGS_SITE_SETTINGS_OPENED = 9,
|
| WEBSITE_SETTINGS_SECURITY_DETAILS_OPENED = 10,
|
| + WEBSITE_SETTINGS_SHOW_ALL_PERMISSIONS_PRESSED = 11,
|
| WEBSITE_SETTINGS_COUNT
|
| };
|
|
|
| @@ -131,6 +132,10 @@ class WebsiteSettings : public TabSpecificContentSettings::SiteDataObserver,
|
| void OnSitePermissionChanged(ContentSettingsType type,
|
| ContentSetting value);
|
|
|
| + // Sets (presents) the information about the site's permissions in the |ui_|,
|
| + // showing all permissions.
|
| + void OnPresentAllSitePermissions();
|
| +
|
| // This method is called whenever access to an object is revoked.
|
| void OnSiteChosenObjectDeleted(const ChooserUIInfo& ui_info,
|
| const base::DictionaryValue& object);
|
| @@ -179,6 +184,9 @@ class WebsiteSettings : public TabSpecificContentSettings::SiteDataObserver,
|
| // information (identity, connection status, etc.).
|
| WebsiteSettingsUI* ui_;
|
|
|
| + // Whether to show all permissions.
|
| + bool show_all_permissions_;
|
| +
|
| // The flag that controls whether an infobar is displayed after the website
|
| // settings UI is closed or not.
|
| bool show_info_bar_;
|
|
|