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

Unified Diff: chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h

Issue 12081002: about:omnibox - add "in keyword mode" checkbox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: forth -> fourth Created 7 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
« no previous file with comments | « chrome/browser/resources/omnibox/omnibox.js ('k') | chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h
diff --git a/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h b/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h
index e040493ddc114ed2db8f105bce52858687960686..513d011da536667e9e1fe75fbb1a9dedcd30a205 100644
--- a/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h
+++ b/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h
@@ -49,12 +49,13 @@ class OmniboxUIHandler : public AutocompleteControllerDelegate,
private:
// Gets called from the javascript when a user enters text into the
// chrome://omnibox/ text box and clicks submit or hits enter.
- // |three_element_input_string| is expected to be a three-element list:
+ // |input| is expected to be a four-element list:
// - first element: input string.
- // - second element: boolean indicating whether we should set
+ // - second element: the cursor position.
+ // - third element: boolean indicating whether we should set
// prevent_inline_autocomplete or not.
- // - third element: the cursor position.
- void StartOmniboxQuery(const base::ListValue* two_element_input_string);
+ // - fourth element: boolean indicating whether we should set prefer_keyword
+ void StartOmniboxQuery(const base::ListValue* input);
// Helper function for OnResultChanged().
// Takes an iterator over AutocompleteMatches and packages them into
« no previous file with comments | « chrome/browser/resources/omnibox/omnibox.js ('k') | chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698