Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5456)

Unified Diff: chrome/browser/ui/panels/panel_manager.h

Issue 7537030: Make panel adjust bounds per preferred size change notification on Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698