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

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

Issue 8183005: Choose the right window to switch to when a panel is deactivated on Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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
===================================================================
--- 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* GetNextBrowserWindowToActivate(Panel* panel) const;
+
int num_panels() const { return panels_.size(); }
bool is_dragging_panel() const;
« 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