OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_WEBSITE_SETTINGS_H_ | 5 #ifndef CHROME_BROWSER_WEBSITE_SETTINGS_H_ |
6 #define CHROME_BROWSER_WEBSITE_SETTINGS_H_ | 6 #define CHROME_BROWSER_WEBSITE_SETTINGS_H_ |
7 | 7 |
8 #include "base/string16.h" | 8 #include "base/string16.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/content_settings/tab_specific_content_settings.h" | 10 #include "chrome/browser/content_settings/tab_specific_content_settings.h" |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 void Init(Profile* profile, | 124 void Init(Profile* profile, |
125 const GURL& url, | 125 const GURL& url, |
126 const content::SSLStatus& ssl); | 126 const content::SSLStatus& ssl); |
127 | 127 |
128 // Sets (presents) the information about the site's permissions in the |ui_|. | 128 // Sets (presents) the information about the site's permissions in the |ui_|. |
129 void PresentSitePermissions(); | 129 void PresentSitePermissions(); |
130 | 130 |
131 // Sets (presents) the information about the site's data in the |ui_|. | 131 // Sets (presents) the information about the site's data in the |ui_|. |
132 void PresentSiteData(); | 132 void PresentSiteData(); |
133 | 133 |
| 134 // Sets (presents) the information about the site's identity and connection |
| 135 // in the |ui_|. |
| 136 void PresentSiteIdentity(); |
| 137 |
134 // The website settings UI displays information and controls for site | 138 // The website settings UI displays information and controls for site |
135 // specific data (local stored objects like cookies), site specific | 139 // specific data (local stored objects like cookies), site specific |
136 // permissions (location, popup, plugin, etc. permissions) and site specific | 140 // permissions (location, popup, plugin, etc. permissions) and site specific |
137 // information (identity, connection status, etc.). | 141 // information (identity, connection status, etc.). |
138 scoped_ptr<WebsiteSettingsUI> ui_; | 142 scoped_ptr<WebsiteSettingsUI> ui_; |
139 | 143 |
140 // The Omnibox URL of the website for which to display site permissions and | 144 // The Omnibox URL of the website for which to display site permissions and |
141 // site information. | 145 // site information. |
142 GURL site_url_; | 146 GURL site_url_; |
143 | 147 |
(...skipping 21 matching lines...) Expand all Loading... |
165 content::CertStore* cert_store_; | 169 content::CertStore* cert_store_; |
166 | 170 |
167 // The |HostContentSettingsMap| is the service that provides and manages | 171 // The |HostContentSettingsMap| is the service that provides and manages |
168 // content settings (aka. site permissions). | 172 // content settings (aka. site permissions). |
169 HostContentSettingsMap* content_settings_; | 173 HostContentSettingsMap* content_settings_; |
170 | 174 |
171 DISALLOW_COPY_AND_ASSIGN(WebsiteSettings); | 175 DISALLOW_COPY_AND_ASSIGN(WebsiteSettings); |
172 }; | 176 }; |
173 | 177 |
174 #endif // CHROME_BROWSER_WEBSITE_SETTINGS_H_ | 178 #endif // CHROME_BROWSER_WEBSITE_SETTINGS_H_ |
OLD | NEW |