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

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

Issue 8375012: Change panel overflow to not close any open panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Commend updated. Created 9 years, 2 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 | « chrome/browser/ui/panels/panel_browsertest.cc ('k') | chrome/browser/ui/panels/panel_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 243f60cdc6903fd6b35b30ffd8b50f707e1a73b2..b419c8f91116cf1955e58a794e86f0fa770af259 100644
--- a/chrome/browser/ui/panels/panel_manager.h
+++ b/chrome/browser/ui/panels/panel_manager.h
@@ -148,10 +148,6 @@ class PanelManager : public PanelMouseWatcher::Observer,
// area being changed or a panel being closed.
void Rearrange(Panels::iterator iter_to_start, int rightmost_position);
- // Finds one panel to close so that we may have space for the new panel
- // created by |extension|.
- void FindAndClosePanelOnOverflow(const Extension* extension);
-
// Help functions to drag the given panel.
void DragLeft();
void DragRight();
@@ -168,10 +164,6 @@ class PanelManager : public PanelMouseWatcher::Observer,
int GetMaxPanelHeight() const;
int GetRightMostAvailablePosition() const;
- // Updates the maximum size of each panel as the result of adding, removing,
- // or sizing panels.
- void UpdateMaxSizeForAllPanels();
-
Panels panels_;
// Stores the panels that are pending to remove. We want to delay the removal
« no previous file with comments | « chrome/browser/ui/panels/panel_browsertest.cc ('k') | chrome/browser/ui/panels/panel_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698