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

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

Issue 2581513002: Replace hard-coded colors from ui::NativeTheme for consistency and accessibility. (Closed)
Patch Set: Delete unused popup_constants.h includes Created 4 years 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_impl.h
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller_impl.h b/chrome/browser/ui/autofill/autofill_popup_controller_impl.h
index 5e7f869ada865bc232b6ed92fa955d16e4e0496e..4c6e8e137480e6bb050ff28474c85d50b7785aa8 100644
--- a/chrome/browser/ui/autofill/autofill_popup_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_popup_controller_impl.h
@@ -17,6 +17,7 @@
#include "chrome/browser/ui/autofill/popup_controller_common.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/rect_f.h"
+#include "ui/native_theme/native_theme.h"
namespace autofill {
@@ -95,7 +96,7 @@ class AutofillPopupControllerImpl : public AutofillPopupController {
base::string16* title,
base::string16* body) override;
bool RemoveSuggestion(int list_index) override;
- SkColor GetBackgroundColorForRow(int index) const override;
+ ui::NativeTheme::ColorId GetBackgroundColorForRow(int index) const override;
int selected_line() const override;
const AutofillPopupLayoutModel& layout_model() const override;

Powered by Google App Engine
This is Rietveld 408576698