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

Unified Diff: chrome/browser/ui/omnibox/location_bar.h

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/omnibox/location_bar.h
diff --git a/chrome/browser/ui/omnibox/location_bar.h b/chrome/browser/ui/omnibox/location_bar.h
index f88f4a6645233e5e5489f432bdccfb71df2968d3..018374504d3ad4ccb087809f7a1ad93ac9951d18 100644
--- a/chrome/browser/ui/omnibox/location_bar.h
+++ b/chrome/browser/ui/omnibox/location_bar.h
@@ -16,6 +16,7 @@
#include "base/string16.h"
#include "chrome/browser/first_run/first_run.h"
+#include "chrome/browser/instant/instant_delegate.h"
#include "chrome/common/page_transition_types.h"
#include "webkit/glue/window_open_disposition.h"
@@ -33,7 +34,8 @@ class LocationBar {
// Sets the suggested text to show in the omnibox. This is shown in addition
// to the current text of the omnibox.
- virtual void SetSuggestedText(const string16& text) = 0;
+ virtual void SetSuggestedText(const string16& text,
+ InstantCompleteBehavior behavior) = 0;
// Returns the string of text entered in the location bar.
virtual std::wstring GetInputString() const = 0;

Powered by Google App Engine
This is Rietveld 408576698