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

Unified Diff: athena/wm/split_view_controller.h

Issue 465983002: Add shoftcut (ctrl-f6) to toggle 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
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..0a5975b18c183ca980a884b5bbe73404b580c915 100644
--- a/athena/wm/split_view_controller.h
+++ b/athena/wm/split_view_controller.h
@@ -33,6 +33,8 @@ class SplitViewController : public BezelController::ScrollDelegate,
bool IsSplitViewModeActive() const;
+ void ToggleSplitView();
+
private:
enum State {
// Split View mode is not active. |left_window_| and |right_window| are
@@ -62,13 +64,13 @@ class SplitViewController : public BezelController::ScrollDelegate,
// off screen when the user switches between activities.
aura::Window* GetCurrentActivityWindow();
- // BezelController::ScrollDelegate overrides.
+ // BezelController::ScrollDelegate:
virtual void ScrollBegin(BezelController::Bezel bezel, float delta) OVERRIDE;
virtual void ScrollEnd() OVERRIDE;
virtual void ScrollUpdate(float delta) OVERRIDE;
virtual bool CanScroll() OVERRIDE;
- // WindowManagerObserver
+ // WindowManagerObserver:
virtual void OnOverviewModeEnter() OVERRIDE;
virtual void OnOverviewModeExit() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698