Chromium Code Reviews| 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 { |
|
Peter Kasting
2012/08/24 22:29:52
Nit: This should be unix_hacker()-style
sreeram
2012/08/24 23:18:12
Done.
|
| + return mode_ == INSTANT || mode_ == SUGGEST; |
| + } |
| + |
| // InstantLoaderDelegate: |
| virtual void SetSuggestions( |
| InstantLoader* loader, |