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

Unified Diff: chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.mm

Issue 2082723002: [Material][Mac] Set Incognito Omnibox Dropdown Icons to White (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.mm
diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.mm b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.mm
index 19889e9a3e59135a2964b300f264ef053283a17e..8e378ca2352489352bc63a6cdfa3f1137644b1b5 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.mm
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.mm
@@ -43,12 +43,11 @@ const NSInteger kMiddleButtonNumber = 2;
[[OmniboxPopupCellData alloc]
initWithMatch:match
contentsOffset:contentsOffset
- image:popupView.ImageForMatch(match, NO)
+ image:popupView.ImageForMatch(match)
answerImage:(match.answer ? answerImage : nil)
forDarkTheme:isDarkTheme]);
- if (isDarkTheme) {
- [cellData setIncognitoImage:popupView.ImageForMatch(match, YES)];
- }
+ if (isDarkTheme)
+ [cellData setIncognitoImage:popupView.ImageForMatch(match)];
[array addObject:cellData];
if (match.type == AutocompleteMatchType::SEARCH_SUGGEST_TAIL) {
max_match_contents_width =
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698