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

Side by Side Diff: athena/wm/split_view_controller.h

Issue 394833004: Split View Mode: Support for the 2-finger bezel scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Getting rid of OnTouchEvent, num_fingers_down_ Created 6 years, 5 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 unified diff | Download patch
« no previous file with comments | « athena/wm/bezel_controller.cc ('k') | athena/wm/split_view_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ATHENA_WM_SPLIT_VIEW_CONTROLLER_H_
6 #define ATHENA_WM_SPLIT_VIEW_CONTROLLER_H_
7
8 #include "athena/wm/bezel_controller.h"
9 #include "base/memory/scoped_ptr.h"
10
11 namespace athena {
12
13 // Responsible for entering split view mode, exiting from split view mode, and
14 // laying out the windows in split view mode.
15 class SplitViewController : public BezelController::ScrollDelegate {
16 public:
17 SplitViewController();
18 virtual ~SplitViewController();
19
20 private:
21 // BezelController::ScrollDelegate overrides.
22 virtual void ScrollBegin(BezelController::Bezel bezel, float delta) OVERRIDE;
23 virtual void ScrollEnd() OVERRIDE;
24 virtual void ScrollUpdate(float delta) OVERRIDE;
25 virtual bool CanScroll() OVERRIDE;
26
27 DISALLOW_COPY_AND_ASSIGN(SplitViewController);
28 };
29
30 } // namespace athena
31
32 #endif // ATHENA_WM_SPLIT_VIEW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « athena/wm/bezel_controller.cc ('k') | athena/wm/split_view_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698