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

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: Answered Sreeram's comments. 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..9b2ad3d4f64cafc5d8aebc4bad9f369b5c262377 100644
--- a/chrome/browser/ui/browser_instant_controller.cc
+++ b/chrome/browser/ui/browser_instant_controller.cc
@@ -171,12 +171,6 @@ void BrowserInstantController::SetInstantSuggestion(
browser_->window()->GetLocationBar()->SetInstantSuggestion(suggestion);
}
-void BrowserInstantController::CommitSuggestedText(
- bool skip_inline_autocomplete) {
- browser_->window()->GetLocationBar()->GetLocationEntry()->model()->
- CommitSuggestedText(skip_inline_autocomplete);
-}
-
gfx::Rect BrowserInstantController::GetInstantBounds() {
return browser_->window()->GetInstantBounds();
}

Powered by Google App Engine
This is Rietveld 408576698