| Index: chrome/browser/instant/instant_controller.h
|
| diff --git a/chrome/browser/instant/instant_controller.h b/chrome/browser/instant/instant_controller.h
|
| index d2510e49414c8cbba18a91452fad8fba4bea810c..72799c72dee892adb2c1410e5891619765b4ecda 100644
|
| --- a/chrome/browser/instant/instant_controller.h
|
| +++ b/chrome/browser/instant/instant_controller.h
|
| @@ -156,6 +156,9 @@ class InstantController : public InstantLoaderDelegate {
|
| InstantLoader* loader,
|
| const std::vector<InstantSuggestion>& suggestions) OVERRIDE;
|
| virtual void CommitInstantLoader(InstantLoader* loader) OVERRIDE;
|
| + virtual void SetInstantPreviewHeight(InstantLoader* loader,
|
| + int height,
|
| + InstantSizeUnits units) OVERRIDE;
|
| virtual void InstantLoaderPreviewLoaded(InstantLoader* loader) OVERRIDE;
|
| virtual void InstantSupportDetermined(InstantLoader* loader,
|
| bool supports_instant) OVERRIDE;
|
| @@ -275,6 +278,13 @@ class InstantController : public InstantLoaderDelegate {
|
| // up in autocomplete history matches.
|
| GURL url_for_history_;
|
|
|
| + // Desired height for the Instant page. Used in extended mode to show Instant
|
| + // at the top of the window and other stuff beneath it.
|
| + int preview_height_;
|
| +
|
| + // Units for |preview_height_|.
|
| + InstantSizeUnits preview_height_units_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(InstantController);
|
| };
|
|
|
|
|