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

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

Issue 6340012: Fix a DCHECK failure in AutocompleteEditModel::OnPopupDataChanged() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and remove the url check. Created 9 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/autocomplete/autocomplete_edit.h
diff --git a/chrome/browser/autocomplete/autocomplete_edit.h b/chrome/browser/autocomplete/autocomplete_edit.h
index 6fbe01648c1723e5cdf0795dc85ccacac6fccb6b..7b00fc6ca4d93e559ba18f9091d128299eb7289d 100644
--- a/chrome/browser/autocomplete/autocomplete_edit.h
+++ b/chrome/browser/autocomplete/autocomplete_edit.h
@@ -378,6 +378,10 @@ class AutocompleteEditModel : public NotificationObserver {
// copy.
bool GetURLForText(const string16& text, GURL* url) const;
+ // Reverts the edit box from a temporary text back to the original user text.
+ // If |revert_popup| is true then the popup will be reverted as well.
+ void RevertTemporaryText(bool revert_popup);
+
// Accepts current keyword if the user only typed a space at the end of
// |new_user_text| comparing to the |old_user_text|.
// Returns true if the current keyword is accepted.

Powered by Google App Engine
This is Rietveld 408576698