Chromium Code Reviews| 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 87aae7792fe45f626c8262d5678bca5ef3683998..a11d015c1e7f8a1bb53d8866c4de05985b2be3b3 100644 |
| --- a/chrome/browser/ui/website_settings/website_settings.h |
| +++ b/chrome/browser/ui/website_settings/website_settings.h |
| @@ -21,6 +21,7 @@ class CertStore; |
| struct SSLStatus; |
| } |
| +class InfoBarTabHelper; |
| class HostContentSettingsMap; |
| class Profile; |
| class WebsiteSettingsUI; |
| @@ -70,6 +71,7 @@ class WebsiteSettings : public TabSpecificContentSettings::SiteDataObserver { |
| WebsiteSettings(WebsiteSettingsUI* ui, |
| Profile* profile, |
| TabSpecificContentSettings* tab_specific_content_settings, |
| + InfoBarTabHelper* infobar_tab_helper, |
| const GURL& url, |
| const content::SSLStatus& ssl, |
| content::CertStore* cert_store); |
| @@ -86,6 +88,9 @@ class WebsiteSettings : public TabSpecificContentSettings::SiteDataObserver { |
| int visit_count, |
| base::Time first_visit); |
| + // This method is called by the UI when the UI is closing. |
| + void OnUIClosing(); |
| + |
| // Accessors. |
| SiteConnectionStatus site_connection_status() const { |
| return site_connection_status_; |
| @@ -137,6 +142,13 @@ class WebsiteSettings : public TabSpecificContentSettings::SiteDataObserver { |
| // information (identity, connection status, etc.). |
| WebsiteSettingsUI* ui_; |
| + // The infobar helper of the active tab. |
| + InfoBarTabHelper* infobar_helper_; // Owned by the active tab contents. |
| + |
| + // The flag that controls whether an info bar is displayed after the website |
|
Finnur
2012/08/01 08:23:58
s/info bar/infobar/
markusheintz_
2012/08/01 08:59:01
Done.
|
| + // settings UI is closed or not. |
| + bool show_info_bar_; |
| + |
| // The Omnibox URL of the website for which to display site permissions and |
| // site information. |
| GURL site_url_; |