Index: chrome/browser/ui/panels/panel_strip.h |
diff --git a/chrome/browser/ui/panels/panel_strip.h b/chrome/browser/ui/panels/panel_strip.h |
index 7b0bced6fc2a6b29013fbc85f8db791ffa6d87dd..ce8930fcee0f5408dd75af50eeaa73f13934362b 100644 |
--- a/chrome/browser/ui/panels/panel_strip.h |
+++ b/chrome/browser/ui/panels/panel_strip.h |
@@ -21,6 +21,11 @@ class PanelStrip { |
IN_OVERFLOW, // panels that cannot fit in the 'docked' panels area |
}; |
+ enum AutoResizeState { |
+ AUTORESIZE_ENABLED, |
+ AUTORESIZE_DISABLED, |
+ }; |
+ |
Type type() const { return type_; } |
// Sets the bounds of the panel strip. |
@@ -48,7 +53,8 @@ class PanelStrip { |
// the content area, and is in screen coordinates. |
// The preferred size may be adjusted to fit layout constraints. |
virtual void ResizePanelWindow(Panel* panel, |
- const gfx::Size& preferred_window_size) = 0; |
+ const gfx::Size& preferred_window_size, |
+ AutoResizeState auto_resize_state) = 0; |
// Invoked when the draw attention state of the panel has changed. |
// Subclass should update the display of the panel to match the new |