OLD | NEW |
---|---|
(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 //#include "ui/views/view.h" | |
11 | |
12 namespace aura { | |
13 class Window; | |
14 } | |
oshima
2014/07/22 17:56:12
this isn't necessary?
mfomitchev
2014/07/22 19:20:23
Done.
| |
15 | |
16 namespace athena { | |
17 | |
18 // Responsible for entering split view mode, exiting from split view mode, and | |
19 // laying out the windows in split view mode. | |
20 class SplitViewController : public BezelController::ScrollDelegate { | |
21 public: | |
22 SplitViewController(); | |
23 virtual ~SplitViewController(); | |
24 | |
25 private: | |
26 // BezelController::ScrollDelegate overrides. | |
27 virtual void ScrollBegin(BezelController::Bezel bezel, float delta) OVERRIDE; | |
28 virtual void ScrollEnd() OVERRIDE; | |
29 virtual void ScrollUpdate(float delta) OVERRIDE; | |
30 virtual bool CanScroll() OVERRIDE; | |
31 | |
32 // scoped_ptr<views::View> separator_; | |
oshima
2014/07/22 17:56:12
remove unused code.
DISALLOW_COPY_AND_ASSIGN
mfomitchev
2014/07/22 19:20:23
Done.
| |
33 }; | |
34 | |
35 } // namespace athena | |
36 | |
37 #endif // ATHENA_WM_SPLIT_VIEW_CONTROLLER_H_ | |
OLD | NEW |