Chromium Code Reviews| 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..cc09dee09b6e148c15456c7085c61a13b344e9a8 100644 |
| --- a/chrome/browser/ui/browser_window.h |
| +++ b/chrome/browser/ui/browser_window.h |
| @@ -12,6 +12,7 @@ |
| #include "chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.h" |
| #include "chrome/browser/ui/sync/one_click_signin_sync_starter.h" |
| #include "chrome/common/content_settings_types.h" |
| +#include "chrome/common/instant_types.h" |
| #include "ui/gfx/native_widget_types.h" |
| #include "webkit/glue/window_open_disposition.h" |
| @@ -326,7 +327,7 @@ 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; |
| // Returns the desired bounds for instant in screen coordinates. Note that if |
| @@ -334,6 +335,10 @@ class BrowserWindow : public BaseWindow { |
| // placed at. |
| virtual gfx::Rect GetInstantBounds() = 0; |
| + // Resize the instant preview to the given |height|, interpreting the height |
|
sky
2012/09/19 00:23:18
Everything after ',' is a bit obvious. Nuke it.
Jered
2012/09/19 18:52:09
Done.
|
| + // to be in the given |units| (see instant_types.h for details). |
| + virtual void SetInstantPreviewHeight(int height, InstantSizeUnits units) = 0; |
| + |
| // Checks if an instant's tab contents is being shown. |
| virtual bool IsInstantTabShowing() = 0; |