| Index: chrome/browser/autocomplete/autocomplete_edit.h
|
| ===================================================================
|
| --- chrome/browser/autocomplete/autocomplete_edit.h (revision 79782)
|
| +++ chrome/browser/autocomplete/autocomplete_edit.h (working copy)
|
| @@ -263,8 +263,9 @@
|
| bool is_keyword_hint() const { return is_keyword_hint_; }
|
|
|
| // Accepts the current keyword hint as a keyword. It always returns true for
|
| - // caller convenience.
|
| - bool AcceptKeyword();
|
| + // caller convenience. |update_result| should be false to accept the
|
| + // keyword in place without updating the result.
|
| + bool AcceptKeyword(bool update_result);
|
|
|
| // Clears the current keyword. |visible_text| is the (non-keyword) text
|
| // currently visible in the edit.
|
| @@ -518,6 +519,9 @@
|
| // keyword_ to show a "Press <tab> to search" sort of hint.
|
| bool is_keyword_hint_;
|
|
|
| + // True if the current possible change shouldn't change results
|
| + bool result_frozen_;
|
| +
|
| // Paste And Go-related state. See CanPasteAndGo().
|
| mutable GURL paste_and_go_url_;
|
| mutable PageTransition::Type paste_and_go_transition_;
|
|
|