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

Unified Diff: athena/wm/split_view_controller.h

Issue 459613008: athena: Allow getting into split-view mode from overview-mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 6 years, 4 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 | « athena/wm/overview_toolbar.cc ('k') | athena/wm/split_view_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/wm/split_view_controller.h
diff --git a/athena/wm/split_view_controller.h b/athena/wm/split_view_controller.h
index 337b75b2471a4ec73e036225764b6e3fb78e9af4..d7dc20c0328f821e755a97051add5040b56fdf7b 100644
--- a/athena/wm/split_view_controller.h
+++ b/athena/wm/split_view_controller.h
@@ -33,6 +33,11 @@ class SplitViewController : public BezelController::ScrollDelegate,
bool IsSplitViewModeActive() const;
+ // Activates split-view mode with |left| and |right| windows. If |left| and/or
+ // |right| is NULL, then the first window in the window-list (which is neither
+ // |left| nor |right|) is selected instead.
+ void ActivateSplitMode(aura::Window* left, aura::Window* right);
+
private:
enum State {
// Split View mode is not active. |left_window_| and |right_window| are
« no previous file with comments | « athena/wm/overview_toolbar.cc ('k') | athena/wm/split_view_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698