Chromium Code Reviews| Index: chrome/browser/ui/omnibox/omnibox_edit_model.h |
| =================================================================== |
| --- chrome/browser/ui/omnibox/omnibox_edit_model.h (revision 214454) |
| +++ chrome/browser/ui/omnibox/omnibox_edit_model.h (working copy) |
| @@ -424,9 +424,12 @@ |
| // autocomplete text that has not yet been accepted. |
| string16 user_text_; |
| - // We keep track of when the user last focused on the omnibox, but reset it |
| - // to null when user input occurs. |
| - base::TimeTicks last_omnibox_focus_without_user_input_; |
| + // We keep track of when the user last focused on the omnibox. |
| + base::TimeTicks last_omnibox_focus_; |
| + // Whether any user input has occurred since focusing on the omnibox. This is |
|
Peter Kasting
2013/08/01 18:19:44
Nit: Go ahead and add a blank line above this
H Fung
2013/08/01 18:36:00
Done.
|
| + // used along with |last_omnibox_focus_| to calculate the time between a user |
| + // focusing on the omnibox and editing. |
| + bool user_input_since_focus_; |
| // We keep track of when the user began modifying the omnibox text. |
| // This should be valid whenever user_input_in_progress_ is true. |