| 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..e8f19d63bbd5b9ba8a3e3b5909a76791dfbb56a6
|
| --- /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;
|
| +}
|
| +
|
| +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_;
|
| +};
|
| +
|
| +} // namespace athena
|
| +
|
| +#endif // ATHENA_WM_SPLIT_VIEW_CONTROLLER_H_
|
|
|