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

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

Issue 9195003: Move IN_OVERFLOW from Panel::ExpansionState to new enum. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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_strip.h
diff --git a/chrome/browser/ui/panels/panel_strip.h b/chrome/browser/ui/panels/panel_strip.h
index ef732df3a6179b716d2c0b71a8d853996c3afffa..79f33cfc824661a5bde8433fbe24b9a128a18465 100644
--- a/chrome/browser/ui/panels/panel_strip.h
+++ b/chrome/browser/ui/panels/panel_strip.h
@@ -46,8 +46,12 @@ class PanelStrip : public PanelMouseWatcherObserver {
void Drag(int delta_x);
void EndDragging(bool cancelled);
+ // Invoked when a panel's strip owner changes.
+ void OnPanelStripOwnerChanged(Panel* panel, Panel::StripOwner old_owner);
+
// Invoked when a panel's expansion state changes.
- void OnPanelExpansionStateChanged(Panel* panel);
+ void OnPanelExpansionStateChanged(Panel* panel,
+ Panel::ExpansionState old_state);
// Invoked when the window size of the given panel is changed.
void OnWindowSizeChanged(
@@ -66,6 +70,8 @@ class PanelStrip : public PanelMouseWatcherObserver {
int GetBottomPositionForExpansionState(
Panel::ExpansionState expansion_state) const;
+ void UpdateBoundsPerExpansionState(Panel* panel);
+
// num_panels() and panels() only includes panels in the panel strip that
// do NOT have a temporary layout.
int num_panels() const { return panels_.size(); }

Powered by Google App Engine
This is Rietveld 408576698