Index: chrome/browser/ui/panels/panel_manager.h |
diff --git a/chrome/browser/ui/panels/panel_manager.h b/chrome/browser/ui/panels/panel_manager.h |
index d02fe76d8b9d30282cdf61eed5ffd7ffea9a1d8a..1785463050c2c0c70522ea2c8f625116012bd93a 100644 |
--- a/chrome/browser/ui/panels/panel_manager.h |
+++ b/chrome/browser/ui/panels/panel_manager.h |
@@ -13,6 +13,7 @@ |
#include "base/timer.h" |
#include "chrome/browser/ui/panels/auto_hiding_desktop_bar.h" |
#include "chrome/browser/ui/panels/panel.h" |
+#include "chrome/browser/ui/panels/panel_strip.h" |
#include "ui/gfx/rect.h" |
class Browser; |
@@ -61,6 +62,12 @@ class PanelManager : public AutoHidingDesktopBar::Observer { |
// for panels that are auto-sized. |
void ResizePanel(Panel* panel, const gfx::Size& new_size); |
+ // Changes the panel's layout to a different type of panel strip. |
+ void ChangePanelLayout(Panel* panel, PanelStrip::Type new_layout); |
jianli
2012/03/02 00:11:41
The name ChangePanelLayout seems to get easily con
jennb
2012/03/02 01:26:32
I was trying to avoid Strip in the name, but oh we
|
+ |
+ // Moves as many panels from overflow back to the dock as space allows. |
+ void MovePanelsOutOfOverflowIfCanFit(); |
+ |
// Returns true if we should bring up the titlebars, given the current mouse |
// point. |
bool ShouldBringUpTitlebars(int mouse_x, int mouse_y) const; |