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

Unified Diff: chrome/browser/ui/browser_instant_controller.cc

Issue 15003002: Omnibox refactor. Move StartAutocomplete and DoInstant to controller. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed unit test. Created 7 years, 7 months 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: chrome/browser/ui/browser_instant_controller.cc
diff --git a/chrome/browser/ui/browser_instant_controller.cc b/chrome/browser/ui/browser_instant_controller.cc
index 34e1ee717c995cf64155a0d39972e9467d70396b..bf08765c88353f6cf872df0c452e92114c7c0137 100644
--- a/chrome/browser/ui/browser_instant_controller.cc
+++ b/chrome/browser/ui/browser_instant_controller.cc
@@ -171,10 +171,9 @@ void BrowserInstantController::SetInstantSuggestion(
browser_->window()->GetLocationBar()->SetInstantSuggestion(suggestion);
}
-void BrowserInstantController::CommitSuggestedText(
- bool skip_inline_autocomplete) {
+void BrowserInstantController::CommitSuggestedText() {
browser_->window()->GetLocationBar()->GetLocationEntry()->model()->
- CommitSuggestedText(skip_inline_autocomplete);
+ CommitSuggestedText();
}
gfx::Rect BrowserInstantController::GetInstantBounds() {

Powered by Google App Engine
This is Rietveld 408576698