OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ATHENA_WM_WINDOW_OVERVIEW_MODE_H_ | 5 #ifndef ATHENA_WM_WINDOW_OVERVIEW_MODE_H_ |
6 #define ATHENA_WM_WINDOW_OVERVIEW_MODE_H_ | 6 #define ATHENA_WM_WINDOW_OVERVIEW_MODE_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 | 9 #include "ui/aura/window.h" |
10 namespace aura { | |
11 class Window; | |
12 } | |
13 | 10 |
14 namespace athena { | 11 namespace athena { |
| 12 class WindowListProvider; |
15 | 13 |
16 class WindowOverviewModeDelegate { | 14 class WindowOverviewModeDelegate { |
17 public: | 15 public: |
18 virtual ~WindowOverviewModeDelegate() {} | 16 virtual ~WindowOverviewModeDelegate() {} |
19 | 17 |
20 virtual void OnSelectWindow(aura::Window* window) = 0; | 18 virtual void OnSelectWindow(aura::Window* window) = 0; |
21 }; | 19 }; |
22 | 20 |
23 class WindowOverviewMode { | 21 class WindowOverviewMode { |
24 public: | 22 public: |
25 virtual ~WindowOverviewMode() {} | 23 virtual ~WindowOverviewMode() {} |
26 | 24 |
27 static scoped_ptr<WindowOverviewMode> Create( | 25 static scoped_ptr<WindowOverviewMode> Create( |
28 aura::Window* container, | 26 aura::Window* container, |
| 27 const WindowListProvider* window_list_provider, |
29 WindowOverviewModeDelegate* delegate); | 28 WindowOverviewModeDelegate* delegate); |
30 }; | 29 }; |
31 | 30 |
32 } // namespace athena | 31 } // namespace athena |
33 | 32 |
34 #endif // ATHENA_WM_WINDOW_OVERVIEW_MODE_H_ | 33 #endif // ATHENA_WM_WINDOW_OVERVIEW_MODE_H_ |
OLD | NEW |