Chromium Code Reviews| Index: athena/wm/split_view_controller.h |
| diff --git a/athena/wm/split_view_controller.h b/athena/wm/split_view_controller.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d23a8ddcaa3e1f9678f4fcac3616195c25f480c0 |
| --- /dev/null |
| +++ b/athena/wm/split_view_controller.h |
| @@ -0,0 +1,37 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef ATHENA_WM_SPLIT_VIEW_CONTROLLER_H_ |
| +#define ATHENA_WM_SPLIT_VIEW_CONTROLLER_H_ |
| + |
| +#include "athena/wm/bezel_controller.h" |
| +#include "base/memory/scoped_ptr.h" |
| +//#include "ui/views/view.h" |
| + |
| +namespace aura { |
| +class Window; |
| +} |
|
oshima
2014/07/22 17:56:12
this isn't necessary?
mfomitchev
2014/07/22 19:20:23
Done.
|
| + |
| +namespace athena { |
| + |
| +// Responsible for entering split view mode, exiting from split view mode, and |
| +// laying out the windows in split view mode. |
| +class SplitViewController : public BezelController::ScrollDelegate { |
| + public: |
| + SplitViewController(); |
| + virtual ~SplitViewController(); |
| + |
| + private: |
| + // BezelController::ScrollDelegate overrides. |
| + virtual void ScrollBegin(BezelController::Bezel bezel, float delta) OVERRIDE; |
| + virtual void ScrollEnd() OVERRIDE; |
| + virtual void ScrollUpdate(float delta) OVERRIDE; |
| + virtual bool CanScroll() OVERRIDE; |
| + |
| + // 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.
|
| +}; |
| + |
| +} // namespace athena |
| + |
| +#endif // ATHENA_WM_SPLIT_VIEW_CONTROLLER_H_ |