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

Unified Diff: chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h

Issue 1099403005: [AiS] changing mac omnibox suggestions form NSMatrix to NSTableView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: autorelease on column data cell Created 5 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
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 29ec953aad14f530727e5911fa3506f93af7fe76..f4159e6cb1b9a77c46b333808355f8362afd317b 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h
@@ -46,6 +46,9 @@ class OmniboxPopupViewMac : public OmniboxPopupView,
void OnMatrixRowMiddleClicked(OmniboxPopupMatrix* matrix,
size_t row) override;
+ // Returns the NSImage that should be used as an icon for the given match.
+ NSImage* ImageForMatch(const AutocompleteMatch& match) const;
+
OmniboxPopupMatrix* matrix() { return matrix_; }
protected:
@@ -65,9 +68,6 @@ class OmniboxPopupViewMac : public OmniboxPopupView,
// change.
void PositionPopup(const CGFloat matrixHeight);
- // Returns the NSImage that should be used as an icon for the given match.
- NSImage* ImageForMatch(const AutocompleteMatch& match) const;
-
// Opens the URL at the given row.
void OpenURLForRow(size_t row, WindowOpenDisposition disposition);

Powered by Google App Engine
This is Rietveld 408576698