| Index: chrome/browser/instant/instant_controller.h
|
| diff --git a/chrome/browser/instant/instant_controller.h b/chrome/browser/instant/instant_controller.h
|
| index 47bcf093ba20b1820ef69108907b6f0d6a4e9f28..abf843a010625457b7419733d3d42f8f303e3f71 100644
|
| --- a/chrome/browser/instant/instant_controller.h
|
| +++ b/chrome/browser/instant/instant_controller.h
|
| @@ -135,6 +135,11 @@ class InstantController : public InstantLoaderDelegate {
|
| return last_transition_type_;
|
| }
|
|
|
| + // Returns true if Instant will offer up autocomplete suggestions.
|
| + bool IsSuggestEnabled() const {
|
| + return mode_ == INSTANT || mode_ == SUGGEST;
|
| + }
|
| +
|
| // InstantLoaderDelegate:
|
| virtual void SetSuggestions(
|
| InstantLoader* loader,
|
|
|