Chromium Code Reviews| 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..6b12ffd4cde403498fd49803f022bdb91fda1115 100644 |
| --- a/chrome/browser/ui/panels/panel_strip.h |
| +++ b/chrome/browser/ui/panels/panel_strip.h |
| @@ -63,8 +63,8 @@ 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 whether/how |panel| can be resized by the user when in this strip. |
|
jianli
2012/04/13 00:52:36
Probably clearer to say: returns the edges that ca
jennb
2012/04/13 19:48:04
Done.
|
| + virtual panel::Resizability CanResizePanel(const Panel* panel) const = 0; |
|
jianli
2012/04/13 00:52:36
Can*** makes me think about the bool return value.
Dmitry Titov
2012/04/13 02:55:45
GetPanelResizability()?
jennb
2012/04/13 19:48:04
Done. Did not rename CanResizeByMouse() in this pa
|
| // 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. |