Chromium Code Reviews| Index: chrome/browser/ui/panels/panel_manager.h |
| =================================================================== |
| --- chrome/browser/ui/panels/panel_manager.h (revision 104349) |
| +++ chrome/browser/ui/panels/panel_manager.h (working copy) |
| @@ -69,6 +69,11 @@ |
| int GetBottomPositionForExpansionState( |
| Panel::ExpansionState expansion_state) const; |
| + // Returns the next browser window which could be either panel window or |
| + // tabbed window, to switch to if the given panel is going to be deactivated. |
| + // Returns NULL if such window cannot be found. |
| + BrowserWindow* GetNextPanelToActivate(Panel* panel) const; |
|
Dmitry Titov
2011/10/07 20:29:15
Naming suggestion: if it may return not only a Pan
jianli
2011/10/07 22:01:54
Renamed to GetNextBrowserWindowToActivate.
|
| + |
| int num_panels() const { return panels_.size(); } |
| bool is_dragging_panel() const; |