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

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: Created 7 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
« 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..8723f26d03584ddeb3172755ef1d4e6d930d7918 100644
--- a/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h
+++ b/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h
@@ -49,11 +49,12 @@ 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:
+ // |four_element_input_string| is expected to be a four-element list:
Bart N. 2013/01/25 21:52:04 Honestly, I've never seen this style (naming vars
Mark P 2013/01/25 22:24:58 I always felt silly updating this code from two to
// - 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.
+ // - forth element: boolean indicating whether we should set prefer_keyword
void StartOmniboxQuery(const base::ListValue* two_element_input_string);
Bart N. 2013/01/25 21:52:04 s/two/four
Mark P 2013/01/25 22:24:58 Done.
// Helper function for OnResultChanged().
« 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