Chromium Code Reviews| Index: chrome/browser/search_engines/template_url.h |
| diff --git a/chrome/browser/search_engines/template_url.h b/chrome/browser/search_engines/template_url.h |
| index 2e89118da58dcdcbfc665d434b90ebc73160e3b8..e06f8f2e2f10d5c9f7035eba390e27be35f51c56 100644 |
| --- a/chrome/browser/search_engines/template_url.h |
| +++ b/chrome/browser/search_engines/template_url.h |
| @@ -70,6 +70,11 @@ class TemplateURLRef { |
| // TODO: Remove along with "aq" CGI param. |
| int accepted_suggestion; |
| + |
| + // The 0-based position of the cursor within the query string at the time |
| + // the request was issued. Set to string16::npos if not used or after the |
| + // last character. |
|
Peter Kasting
2012/12/18 03:01:01
I thought "after the last character" was allowed n
Bart N.
2012/12/18 23:47:39
You mean "wasn't", right? I forgot to fix it here.
|
| + size_t cursor_position; |
| }; |
| TemplateURLRef(TemplateURL* owner, Type type); |
| @@ -157,6 +162,7 @@ class TemplateURLRef { |
| GOOGLE_ASSISTED_QUERY_STATS, |
| GOOGLE_BASE_URL, |
| GOOGLE_BASE_SUGGEST_URL, |
| + GOOGLE_CURSOR_POSITION, |
| GOOGLE_INSTANT_ENABLED, |
| GOOGLE_INSTANT_EXTENDED_ENABLED, |
| GOOGLE_ORIGINAL_QUERY_FOR_SUGGESTION, |