Chromium Code Reviews| Index: components/omnibox/browser/omnibox_edit_model.cc |
| diff --git a/components/omnibox/browser/omnibox_edit_model.cc b/components/omnibox/browser/omnibox_edit_model.cc |
| index 3e195f8bb0ac10890e77d55f23da405a34e1a9ce..4d4db3648aa6e33d98efada9acc0d1e4da66b1ba 100644 |
| --- a/components/omnibox/browser/omnibox_edit_model.cc |
| +++ b/components/omnibox/browser/omnibox_edit_model.cc |
| @@ -338,6 +338,11 @@ void OmniboxEditModel::AdjustTextForCopy(int sel_min, |
| } |
| } |
| +bool OmniboxEditModel::text_update_in_progress() const { |
| + return permanent_text_ != |
| + controller_->GetToolbarModel()->GetFormattedURL(nullptr); |
|
Peter Kasting
2017/03/21 22:47:18
Why would the |permanent_text_| be out of sync wit
Kevin Bailey
2017/03/23 13:14:37
The comment in ::OnBlur() implies that some update
Peter Kasting
2017/03/23 21:52:12
The paragraph I wrote describes the place this is
Kevin Bailey
2017/04/10 18:49:30
I haven't seen anything different. The code was my
|
| +} |
| + |
| void OmniboxEditModel::SetInputInProgress(bool in_progress) { |
| if (in_progress && !user_input_since_focus_) { |
| base::TimeTicks now = base::TimeTicks::Now(); |