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

Unified Diff: components/omnibox/browser/omnibox_edit_model.cc

Issue 1485333006: Abstract callout to OmniboxEditController on updating input in progress (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: 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 e6efb0ef9ae6da3123bca1562c6be6fa2192e38a..9d117c4db1f46179d0db99a8282df44fae47b151 100644
--- a/components/omnibox/browser/omnibox_edit_model.cc
+++ b/components/omnibox/browser/omnibox_edit_model.cc
@@ -451,8 +451,7 @@ void OmniboxEditModel::SetInputInProgress(bool in_progress) {
autocomplete_controller()->ResetSession();
}
- controller_->GetToolbarModel()->set_input_in_progress(in_progress);
- controller_->UpdateWithoutTabRestore();
+ controller_->SetInputInProgress(in_progress);
if (user_input_in_progress_ || !in_revert_)
client_->OnInputStateChanged();

Powered by Google App Engine
This is Rietveld 408576698