| Index: chrome/browser/ui/browser_window.h
|
| diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
|
| index efa96cab66a5f9c88053005992582ec37327b7f2..54fe4840e7fd4f26c4c53f1f75801c39dac0d8eb 100644
|
| --- a/chrome/browser/ui/browser_window.h
|
| +++ b/chrome/browser/ui/browser_window.h
|
| @@ -326,9 +326,14 @@ class BrowserWindow : public BaseWindow {
|
| // Invoked when instant's tab contents should be shown.
|
| virtual void ShowInstant(TabContents* preview) = 0;
|
|
|
| - // Invoked when the instant's tab contents should be hidden.
|
| + // Invoked when instant's tab contents should be hidden.
|
| virtual void HideInstant() = 0;
|
|
|
| + // Resizes the Instant preview. If |is_percent| is true, then |value| is a
|
| + // percentage of the available content height in [0, 100], otherwise |value|
|
| + // is the desired height in pixels.
|
| + virtual void SetInstantPreviewHeight(int value, bool is_percent) = 0;
|
| +
|
| // Returns the desired bounds for instant in screen coordinates. Note that if
|
| // instant isn't currently visible this returns the bounds instant would be
|
| // placed at.
|
|
|