Index: chrome/browser/ui/panels/panel_manager.h |
=================================================================== |
--- chrome/browser/ui/panels/panel_manager.h (revision 94932) |
+++ chrome/browser/ui/panels/panel_manager.h (working copy) |
@@ -38,6 +38,9 @@ |
void Drag(int delta_x); |
void EndDragging(bool cancelled); |
+ // Updates the bounds of the given panel as the preferred size gets changed. |
+ void UpdatePreferredSize(Panel* panel, const gfx::Size& pref_size); |
+ |
// Should we bring up the titlebar, given the current mouse point? |
bool ShouldBringUpTitleBarForAllMinimizedPanels(int mouse_x, |
int mouse_y) const; |
@@ -83,6 +86,10 @@ |
void DragLeft(); |
void DragRight(); |
+ // Updates the maximum size of each panel as the result of adding, removing, |
+ // or sizing panels. |
+ void UpdateMaximumSizeForAllPanels(); |
+ |
Panels panels_; |
// Stores the panels that are pending to remove. We want to delay the removal |