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

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

Issue 10411036: Separate BrowserWindow from Panel class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac unit_tests compile Created 8 years, 7 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
diff --git a/chrome/browser/ui/panels/panel_manager.h b/chrome/browser/ui/panels/panel_manager.h
index 751026d0170cb1b9727054d88483114a08882314..82aaecc9ebdaeb220c25d8988a1b95777baf0bc9 100644
--- a/chrome/browser/ui/panels/panel_manager.h
+++ b/chrome/browser/ui/panels/panel_manager.h
@@ -17,6 +17,7 @@
#include "ui/gfx/rect.h"
class Browser;
+class BrowserWindow;
class DetachedPanelStrip;
class DockedPanelStrip;
class PanelDragController;
@@ -64,13 +65,8 @@ class PanelManager : public DisplaySettingsProvider::DisplayAreaObserver,
// Resizes the panel and sets the origin.
void OnPanelResizedByMouse(Panel* panel, const gfx::Rect& new_bounds);
- // Invoked when the preferred window size of the given panel might need to
- // get changed.
- void OnWindowAutoResized(Panel* panel,
- const gfx::Size& preferred_window_size);
-
- // Resizes the panel. Explicitly setting the panel size is not allowed
- // for panels that are auto-sized.
+ // Resizes the panel. Explicitly setting the panel size will disable
+ // auto-size for the panel.
void ResizePanel(Panel* panel, const gfx::Size& new_size);
// Invoked when a panel's expansion state changes.

Powered by Google App Engine
This is Rietveld 408576698