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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm

Issue 2496683003: Http Bad: Add a PopupItemId to identify http warning message (Closed)
Patch Set: minor change 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/cocoa/autofill/autofill_popup_view_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm b/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm
index 35856a79bef1a7eddf524a1ff51f83368fbe40c7..1e990f1c3672d892ac6cdb6a0d4cf6809b2eba94 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm
@@ -196,6 +196,8 @@ using autofill::AutofillPopupLayoutModel;
bounds:(NSRect)bounds
textYOffset:(CGFloat)textYOffset {
NSColor* nameColor =
+ // TODO(lshang): Use AutofillPopupLayoutModel::GetValueFontColorForRow()
Mathieu 2016/11/16 22:29:36 nit: the format for TODO is TODO(crbug.com/xxxxxx)
lshang 2016/11/17 07:03:46 Done.
+ // instead and remove IsWarning() method.
controller_->IsWarning(index) ? [self warningColor] : [self nameColor];
NSDictionary* nameAttributes = [NSDictionary
dictionaryWithObjectsAndKeys:controller_->layout_model()

Powered by Google App Engine
This is Rietveld 408576698