Index: chrome/browser/autocomplete/autocomplete_edit.h |
diff --git a/chrome/browser/autocomplete/autocomplete_edit.h b/chrome/browser/autocomplete/autocomplete_edit.h |
index c21cb9581655331f73249ddebce08ae5e2deffc4..1591dfbe31ecfa9b20f684c10e2267584342d1fc 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 std::wstring& 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. |