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

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: Resolved conflicts during patching Created 3 years, 11 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_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..e3332b51f00d49f50a74b5c06df29046052c63ae 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 GetBackgroundColorIDForRow(int index) const override;
int selected_line() const override;
const AutofillPopupLayoutModel& layout_model() const override;
« no previous file with comments | « chrome/browser/ui/autofill/autofill_popup_controller.h ('k') | chrome/browser/ui/autofill/autofill_popup_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698