Chromium Code Reviews| Index: chrome/browser/ui/website_settings/website_settings_ui.h |
| diff --git a/chrome/browser/ui/website_settings/website_settings_ui.h b/chrome/browser/ui/website_settings/website_settings_ui.h |
| index 648e5c73d7babf0f1525ed4aafc4c9909ca59fe5..b28711bfda92142c6d22a103c538f33d340b5d7b 100644 |
| --- a/chrome/browser/ui/website_settings/website_settings_ui.h |
| +++ b/chrome/browser/ui/website_settings/website_settings_ui.h |
| @@ -25,6 +25,10 @@ namespace content { |
| struct SSLStatus; |
| } |
| +namespace gfx { |
| +class Image; |
| +} |
| + |
| // The class |WebsiteSettingsUI| specifies the platform independent |
| // interface of the website settings UI. The website settings UI displays |
| // information and controls for site specific data (local stored objects like |
| @@ -88,6 +92,18 @@ class WebsiteSettingsUI { |
| // Returns the resource ID of the UI string for the given permission |value|. |
| static int PermissionValueToUIStringID(ContentSetting value); |
| + // Returns the icon for the given permission |type| and |setting|. |
| + static const gfx::Image& GetPermissionIcon(ContentSettingsType type, |
| + ContentSetting setting); |
|
tfarina
2012/06/14 19:59:32
nit: wrong indentation here!
|
| + |
| + // Returns the identity icon for the given identity |status|. |
| + static const gfx::Image& GetIdentityIcon( |
| + WebsiteSettings::SiteIdentityStatus status); |
| + |
| + // Returns the connection icon for the given connection |status|. |
| + static const gfx::Image& GetConnectionIcon( |
| + WebsiteSettings::SiteConnectionStatus status); |
| + |
| // Sets cookie information. |
| virtual void SetCookieInfo(const CookieInfoList& cookie_info_list) = 0; |