Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Unified Diff: chrome/browser/ui/website_settings/website_settings_ui.h

Issue 10534138: Add icons to the views Website Settings UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..576f086b393d43acb6e4e90dd8228d037439e924 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 gfx::Image* GetPermissionIcon(ContentSettingsType type,
+ ContentSetting setting);
+
+ // Returns the identity icon for the given identity |status|.
+ static gfx::Image* GetIdentityIcon(
+ WebsiteSettings::SiteIdentityStatus status);
+
+ // Returns the connection icon for the given connection |status|.
+ static gfx::Image* GetConnectionIcon(
+ WebsiteSettings::SiteConnectionStatus status);
+
// Sets cookie information.
virtual void SetCookieInfo(const CookieInfoList& cookie_info_list) = 0;

Powered by Google App Engine
This is Rietveld 408576698