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

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

Issue 6731036: Enabled pressing TAB to cycle through the Omnibox results. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 8 years, 11 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.mm
===================================================================
--- chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm (revision 117356)
+++ chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm (working copy)
@@ -548,10 +548,8 @@
// relevant match out to make sure it stays alive until the call
// completes.
AutocompleteMatch match = model_->result().match_at(row);
- string16 keyword;
- const bool is_keyword_hint = model_->GetKeywordForMatch(match, &keyword);
omnibox_view_->OpenMatch(match, disposition, GURL(), row,
- is_keyword_hint ? string16() : keyword);
+ match.keyword);
}
void OmniboxPopupViewMac::UserPressedOptIn(bool opt_in) {

Powered by Google App Engine
This is Rietveld 408576698