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

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

Issue 9699036: Fix handling of minimized panel count (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: comment Created 8 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/ui/panels/docked_panel_strip.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/docked_panel_strip.h
diff --git a/chrome/browser/ui/panels/docked_panel_strip.h b/chrome/browser/ui/panels/docked_panel_strip.h
index 5a112da5ac22ea080035fa891199949384b47ff4..1a63d2ba79aa6034d6d7f689638b8f38038045cb 100644
--- a/chrome/browser/ui/panels/docked_panel_strip.h
+++ b/chrome/browser/ui/panels/docked_panel_strip.h
@@ -107,6 +107,8 @@ class DockedPanelStrip : public PanelStrip,
int num_temporary_layout_panels() const {
return panels_in_temporary_layout_.size();
}
+
+ int minimized_panel_count() const {return minimized_panel_count_; }
#endif
private:
@@ -135,8 +137,7 @@ class DockedPanelStrip : public PanelStrip,
void InsertExistingPanelAtDefaultPosition(Panel* panel, bool refresh_bounds);
// Keep track of the minimized panels to control mouse watching.
- void IncrementMinimizedPanels();
- void DecrementMinimizedPanels();
+ void UpdateMinimizedPanelCount();
// Help functions to drag the given panel.
void DragLeft(Panel* dragging_panel);
« no previous file with comments | « no previous file | chrome/browser/ui/panels/docked_panel_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698