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

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

Issue 2152243002: [Autofill] Tweak credit card signin promo visually. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: transparent color Created 4 years, 5 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/autofill/autofill_popup_controller.h
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller.h b/chrome/browser/ui/autofill/autofill_popup_controller.h
index df17ce6b39c19e02667c222049ecb3317c3647d0..b2b98b4b211252336b4b3417b75a09f0b93afe4f 100644
--- a/chrome/browser/ui/autofill/autofill_popup_controller.h
+++ b/chrome/browser/ui/autofill/autofill_popup_controller.h
@@ -13,6 +13,7 @@
#include "base/strings/string16.h"
#include "build/build_config.h"
#include "chrome/browser/ui/autofill/autofill_popup_view_delegate.h"
+#include "third_party/skia/include/core/SkColor.h"
namespace gfx {
class FontList;
@@ -62,6 +63,10 @@ class AutofillPopupController : public AutofillPopupViewDelegate {
virtual const gfx::FontList& GetLabelFontList() const = 0;
#endif
+ // Returns the background color of the row item according to its |index|, or
+ // transparent if the default popup background should be used.
+ virtual SkColor GetBackgroundColorForRow(int index) const = 0;
+
// Returns the index of the selected line. A line is "selected" when it is
// hovered or has keyboard focus.
virtual int selected_line() const = 0;

Powered by Google App Engine
This is Rietveld 408576698