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

Unified Diff: chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h

Issue 9562029: GTK: Draw the correct omnibox state with new tab-to-traverse behavior. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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/gtk/omnibox/omnibox_popup_view_gtk.h
diff --git a/chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h b/chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h
index 4a360dcf90883b63bb6d77fbd5c04e9580306540..50f144ef92770aaddbce2822017fb8eb4cc28a22 100644
--- a/chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h
+++ b/chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h
@@ -79,7 +79,13 @@ class OmniboxPopupViewGtk : public AutocompletePopupView,
// Accept a line of the results, for example, when the user clicks a line.
void AcceptLine(size_t line, WindowOpenDisposition disposition);
- const gfx::Image* IconForMatch(const AutocompleteMatch& match, bool selected);
+ const gfx::Image* IconForMatch(const AutocompleteMatch& match,
+ bool selected,
+ bool is_selected_keyword);
+
+ void GetForMatch(size_t index,
Peter Kasting 2012/03/01 22:02:12 Nit: Maybe this should be named GetVisibleMatchFor
+ const AutocompleteMatch** match,
+ bool* is_selected_keyword);
CHROMEGTK_CALLBACK_1(OmniboxPopupViewGtk, gboolean, HandleMotion,
GdkEventMotion*);

Powered by Google App Engine
This is Rietveld 408576698