| 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..6ba4ebf37677ed5e05d9d6fc05b176b4309c99de 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;
|
| @@ -193,8 +196,9 @@ class InstantController : public InstantLoaderDelegate {
|
| // Destroys the |loader_| and its preview contents.
|
| void DeleteLoader();
|
|
|
| - // Counterpart to Hide(). Asks the |delegate_| to display the preview.
|
| - void Show();
|
| + // Counterpart to Hide(). Asks the |delegate_| to display the preview with
|
| + // the given |height|.
|
| + void Show(int height, InstantSizeUnits units);
|
|
|
| // Send the omnibox dropdown bounds to the page.
|
| void SendBoundsToPage();
|
|
|