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

Unified Diff: chrome/browser/ui/views/autofill/decorated_textfield.cc

Issue 1931043002: Remove requestAutocomplete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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/views/autofill/decorated_textfield.cc
diff --git a/chrome/browser/ui/views/autofill/decorated_textfield.cc b/chrome/browser/ui/views/autofill/decorated_textfield.cc
index 111ce5b4cefa40349c7fd17f0c7b625993aad972..f1f39890255ab6e159ee31e42b263dc869fcbab5 100644
--- a/chrome/browser/ui/views/autofill/decorated_textfield.cc
+++ b/chrome/browser/ui/views/autofill/decorated_textfield.cc
@@ -6,9 +6,9 @@
#include <utility>
-#include "chrome/browser/ui/autofill/autofill_dialog_types.h"
#include "chrome/browser/ui/views/autofill/tooltip_icon.h"
#include "ui/gfx/canvas.h"
+#include "ui/gfx/color_palette.h"
#include "ui/views/background.h"
#include "ui/views/controls/button/label_button.h"
#include "ui/views/controls/focusable_border.h"
@@ -151,7 +151,7 @@ void DecoratedTextfield::UpdateBackground() {
void DecoratedTextfield::UpdateBorder() {
std::unique_ptr<views::FocusableBorder> border(new views::FocusableBorder());
if (invalid_)
- border->SetColor(kWarningColor);
+ border->SetColor(gfx::kGoogleRed700);
else if (!editable_)
border->SetColor(SK_ColorTRANSPARENT);

Powered by Google App Engine
This is Rietveld 408576698