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

Unified Diff: athena/wm/split_view_controller.h

Issue 468763002: athena: Fix switching windows with title-drag in split-view. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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 | « no previous file | athena/wm/split_view_controller.cc » ('j') | athena/wm/split_view_controller.cc » ('J')
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 0fa7bb4bc33dc5c18e0396cab64fafe5a7c5ea2a..5e4495d281ad61091c7e8c3cf5fb6209bdf9b505 100644
--- a/athena/wm/split_view_controller.h
+++ b/athena/wm/split_view_controller.h
@@ -35,6 +35,12 @@ class SplitViewController : public BezelController::ScrollDelegate,
void ActivateSplitMode(aura::Window* left, aura::Window* right);
+ void ReplaceWindow(aura::Window* window,
+ aura::Window* replace_with);
+
+ aura::Window* left_window() { return left_window_; }
+ aura::Window* right_window() { return right_window_; }
+
private:
enum State {
// Split View mode is not active. |left_window_| and |right_window| are
« no previous file with comments | « no previous file | athena/wm/split_view_controller.cc » ('j') | athena/wm/split_view_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698