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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_layout_model.h

Issue 2498503002: Http Bad: Add icons to the http warning message (Closed)
Patch Set: address Created 4 years, 1 month 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/autofill/autofill_popup_layout_model.h
diff --git a/chrome/browser/ui/autofill/autofill_popup_layout_model.h b/chrome/browser/ui/autofill/autofill_popup_layout_model.h
index 80ac564594b8c1ed3c92f97e2778684fabe08ef4..57a4091a188317fbbb4eed14d966ad1c4ebc51cc 100644
--- a/chrome/browser/ui/autofill/autofill_popup_layout_model.h
+++ b/chrome/browser/ui/autofill/autofill_popup_layout_model.h
@@ -17,6 +17,7 @@
namespace gfx {
class Display;
+class ImageSkia;
class Point;
}
@@ -71,6 +72,9 @@ class AutofillPopupLayoutModel {
// Returns the value font color of the row item according to its |index|.
SkColor GetValueFontColorForRow(size_t index) const;
+
+ // Returns the icon image of the item at |index| in the popup.
+ gfx::ImageSkia GetIconImage(size_t index) const;
#endif
// Convert a y-coordinate to the closest line.

Powered by Google App Engine
This is Rietveld 408576698