| Index: chrome/browser/ui/search/instant_controller.h
|
| diff --git a/chrome/browser/ui/search/instant_controller.h b/chrome/browser/ui/search/instant_controller.h
|
| index e75495bc346e5a400a1976cb939f427209774a34..85d7949ce103bf8e560c1e45ec9278d8b6c87390 100644
|
| --- a/chrome/browser/ui/search/instant_controller.h
|
| +++ b/chrome/browser/ui/search/instant_controller.h
|
| @@ -382,6 +382,10 @@ class InstantController : public InstantPage::Delegate,
|
| // Returns true if the local page is being used.
|
| bool UsingLocalPage() const;
|
|
|
| + // Returns true iff |use_tab_for_suggestions_| is true and |instant_tab_|
|
| + // exists.
|
| + bool UseTabForSuggestions() const;
|
| +
|
| BrowserInstantController* const browser_;
|
|
|
| // Whether the extended API and regular API are enabled. If both are false,
|
| @@ -406,6 +410,11 @@ class InstantController : public InstantPage::Delegate,
|
| scoped_ptr<InstantNTP> ntp_;
|
| scoped_ptr<InstantTab> instant_tab_;
|
|
|
| + // If true, send suggestion-related events (such as user key strokes, auto
|
| + // complete results, etc.) to |instant_tab_| instead of |overlay_|. Once set
|
| + // to false, will stay false until the overlay is hidden or committed.
|
| + bool use_tab_for_suggestions_;
|
| +
|
| // The most recent full_text passed to Update(). If empty, we'll not accept
|
| // search suggestions from |overlay_| or |instant_tab_|.
|
| string16 last_omnibox_text_;
|
|
|