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

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

Issue 6685002: Wires up ability for page to specify instant auto complete (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test and stray char Created 9 years, 9 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.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 8afcf7d472ce761c348cf8bcfae1997c7b74047d..3f2cfd64d8f2f7e891ddf66154d7843930b3ecbe 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -3522,8 +3522,9 @@ void Browser::CommitInstant(TabContentsWrapper* preview_contents) {
}
}
-void Browser::SetSuggestedText(const string16& text) {
- window()->GetLocationBar()->SetSuggestedText(text);
+void Browser::SetSuggestedText(const string16& text,
+ InstantCompleteBehavior behavior) {
+ window()->GetLocationBar()->SetSuggestedText(text, behavior);
}
gfx::Rect Browser::GetInstantBounds() {

Powered by Google App Engine
This is Rietveld 408576698