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

Unified Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm

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/cocoa/location_bar/location_bar_view_mac.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
index 2049fc0f13f0195b37cd061437b96c4cfbcde989..12399caad264c3b5adec023f4ae55c3deff4feed 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
@@ -137,8 +137,9 @@ std::wstring LocationBarViewMac::GetInputString() const {
return location_input_;
}
-void LocationBarViewMac::SetSuggestedText(const string16& text) {
- edit_view_->model()->SetSuggestedText(text);
+void LocationBarViewMac::SetSuggestedText(const string16& text,
+ InstantCompleteBehavior behavior) {
+ edit_view_->model()->SetSuggestedText(text, behavior);
}
WindowOpenDisposition LocationBarViewMac::GetWindowOpenDisposition() const {

Powered by Google App Engine
This is Rietveld 408576698