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

Unified Diff: chrome/browser/ui/content_settings/content_setting_image_model.h

Issue 1309063006: Fix vectorized icon for PPAPI broker website setting icon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: docs Created 5 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/ui/content_settings/content_setting_image_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/content_settings/content_setting_image_model.h
diff --git a/chrome/browser/ui/content_settings/content_setting_image_model.h b/chrome/browser/ui/content_settings/content_setting_image_model.h
index 459e429929e0b3e7db2495a6d905d1cf85d2e75d..633babf50d355fa00f0147b5b551b0aca451ab23 100644
--- a/chrome/browser/ui/content_settings/content_setting_image_model.h
+++ b/chrome/browser/ui/content_settings/content_setting_image_model.h
@@ -53,6 +53,7 @@ class ContentSettingImageModel {
void SetIconByVectorId(gfx::VectorIconId id, bool blocked);
#endif
void set_visible(bool visible) { is_visible_ = visible; }
+ void set_icon(const gfx::Image& image) { icon_ = image; }
void set_explanatory_string_id(int text_id) {
explanatory_string_id_ = text_id;
}
« no previous file with comments | « no previous file | chrome/browser/ui/content_settings/content_setting_image_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698