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

Unified Diff: athena/wm/split_view_controller.h

Issue 574113004: [Athena] Fix switching activities by swiping from the right bezel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@athena_split
Patch Set: Created 6 years, 3 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
Index: athena/wm/split_view_controller.h
diff --git a/athena/wm/split_view_controller.h b/athena/wm/split_view_controller.h
index e41b3892d205c0f8e816b04cd0bb49187094ea81..f556b552e8c88ec3936fc886b009123cefdc6e21 100644
--- a/athena/wm/split_view_controller.h
+++ b/athena/wm/split_view_controller.h
@@ -48,8 +48,13 @@ class ATHENA_EXPORT SplitViewController
// 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);
+ // |left| nor |right|) is selected instead. |to_activate| indicates which of
+ // |left| or |right| should be activated. If |to_activate| is NULL, the
+ // currently active window is kept active if it is one of the split-view
+ // windows.
+ void ActivateSplitMode(aura::Window* left,
+ aura::Window* right,
+ aura::Window* to_activate);
// Resets the internal state to an inactive state.
void DeactivateSplitMode();

Powered by Google App Engine
This is Rietveld 408576698