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 { |
15 | 12 |
16 class WindowOverviewModeDelegate { | 13 class WindowOverviewModeDelegate { |
17 public: | 14 public: |
18 virtual ~WindowOverviewModeDelegate() {} | 15 virtual ~WindowOverviewModeDelegate() {} |
19 | 16 |
20 virtual void OnSelectWindow(aura::Window* window) = 0; | 17 virtual void OnSelectWindow(aura::Window* window) = 0; |
21 }; | 18 }; |
22 | 19 |
23 class WindowOverviewMode { | 20 class WindowOverviewMode { |
24 public: | 21 public: |
25 virtual ~WindowOverviewMode() {} | 22 virtual ~WindowOverviewMode() {} |
26 | 23 |
27 static scoped_ptr<WindowOverviewMode> Create( | 24 static scoped_ptr<WindowOverviewMode> Create( |
28 aura::Window* container, | 25 aura::Window* container, |
26 aura::Window::Windows windows, | |
Jun Mukai
2014/07/25 20:21:30
const &
mfomitchev
2014/07/25 23:27:38
Done.
mfomitchev
2014/08/05 19:56:57
This is now obtained from MruWindowTracker which c
| |
29 WindowOverviewModeDelegate* delegate); | 27 WindowOverviewModeDelegate* delegate); |
30 }; | 28 }; |
31 | 29 |
32 } // namespace athena | 30 } // namespace athena |
33 | 31 |
34 #endif // ATHENA_WM_WINDOW_OVERVIEW_MODE_H_ | 32 #endif // ATHENA_WM_WINDOW_OVERVIEW_MODE_H_ |
OLD | NEW |