Remove unused tools/safely-roll-blink.py
[chromium-blink-merge.git] / athena / wm / window_overview_mode.h
blob6597fea433d8c170164bc1fce6193579c6e83955
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.
5 #ifndef ATHENA_WM_WINDOW_OVERVIEW_MODE_H_
6 #define ATHENA_WM_WINDOW_OVERVIEW_MODE_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "ui/aura/window.h"
11 namespace athena {
12 class SplitViewController;
13 class WindowListProvider;
15 class WindowOverviewModeDelegate {
16 public:
17 virtual ~WindowOverviewModeDelegate() {}
19 virtual void OnSelectWindow(aura::Window* window) = 0;
21 // Gets into split-view mode with |left| on the left-side of the screen, and
22 // |right| on the right-side. If |left| or |right| is NULL, then the delegate
23 // selects the best option in its place.
24 virtual void OnSplitViewMode(aura::Window* left,
25 aura::Window* right) = 0;
28 class WindowOverviewMode {
29 public:
30 virtual ~WindowOverviewMode() {}
32 static scoped_ptr<WindowOverviewMode> Create(
33 aura::Window* container,
34 const WindowListProvider* window_list_provider,
35 SplitViewController* split_view_controller,
36 WindowOverviewModeDelegate* delegate);
39 } // namespace athena
41 #endif // ATHENA_WM_WINDOW_OVERVIEW_MODE_H_