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 46ce57b17f69827ffaa25c58a43d6d99baa48d7c..bfbf66d30fc5cd85be61683d7b791515930f944a 100644 |
--- a/chrome/browser/ui/panels/panel_strip.h |
+++ b/chrome/browser/ui/panels/panel_strip.h |
@@ -63,8 +63,10 @@ class PanelStrip { |
virtual void ResizePanelWindow(Panel* panel, |
const gfx::Size& preferred_window_size) = 0; |
- // Returns true if |panel| can be resized by the user when in this strip. |
- virtual bool CanResizePanel(const Panel* panel) const = 0; |
+ // Returns the sides from which |panel| can be resized by the user |
+ // if |panel| is resizable in this strip. |
+ virtual panel::Resizability GetPanelResizability( |
+ const Panel* panel) const = 0; |
// Change panel's bounds and take care of all possible side effects |
// in ths strip as a result of the panel being resized by the user. |