Chromium Code Reviews| Index: chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h |
| diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h |
| index 5d6c1b422f5e7d3001230cf91fe973da7ffad70e..7c5d1914531a3b2e4a9612f599d75015818d6288 100644 |
| --- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h |
| +++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h |
| @@ -27,6 +27,8 @@ class OmniboxView; |
| class OmniboxPopupViewMac : public OmniboxPopupView, |
| public OmniboxPopupMatrixObserver { |
| public: |
| + // Return the OmniboxPopupViewMac background color. |
| + static NSColor* BackgroundColor(BOOL is_dark_theme); |
|
tapted
2016/04/28 14:29:44
hm - I think constructors come before static metho
shrike
2016/04/28 21:05:35
Done.
|
| OmniboxPopupViewMac(OmniboxView* omnibox_view, |
| OmniboxEditModel* edit_model, |
| NSTextField* field); |
| @@ -50,7 +52,8 @@ class OmniboxPopupViewMac : public OmniboxPopupView, |
| size_t row) override; |
| // Returns the NSImage that should be used as an icon for the given match. |
| - NSImage* ImageForMatch(const AutocompleteMatch& match) const; |
| + NSImage* ImageForMatch(const AutocompleteMatch& match, |
| + BOOL ignore_dark_theme) const; |
| OmniboxPopupMatrix* matrix() { return matrix_; } |