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

Unified Diff: chrome/browser/autocomplete/autocomplete_input.h

Issue 12039053: Fix cursor position for default provider searches in keyword mode. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Added missing () to the comment in omnibox_edit_model.cc 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 | « no previous file | chrome/browser/autocomplete/autocomplete_input.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete_input.h
diff --git a/chrome/browser/autocomplete/autocomplete_input.h b/chrome/browser/autocomplete/autocomplete_input.h
index d51647ef90c702dffed2bb74365e67d3c568503b..00256e81116ec7a8d11075ad0945eba49ed03f22 100644
--- a/chrome/browser/autocomplete/autocomplete_input.h
+++ b/chrome/browser/autocomplete/autocomplete_input.h
@@ -171,13 +171,12 @@ class AutocompleteInput {
// See description of enum for details.
MatchesRequested matches_requested() const { return matches_requested_; }
- // operator==() by another name.
- bool Equals(const AutocompleteInput& other) const;
-
// Resets all internal variables to the null-constructed state.
void Clear();
private:
+ // NOTE: Whenever adding a new field here, please make sure to update Clear()
+ // method.
string16 text_;
size_t cursor_position_;
string16 desired_tld_;
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete_input.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698