OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_CONTROLLER_H_ | 5 #ifndef ASH_WM_OVERVIEW_WINDOW_SELECTOR_CONTROLLER_H_ |
6 #define ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_CONTROLLER_H_ | 6 #define ASH_WM_OVERVIEW_WINDOW_SELECTOR_CONTROLLER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <memory> | 9 #include <memory> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "ash/ash_export.h" | 12 #include "ash/ash_export.h" |
13 #include "ash/common/wm/overview/window_selector.h" | 13 #include "ash/wm/overview/window_selector.h" |
14 #include "ash/common/wm/overview/window_selector_delegate.h" | 14 #include "ash/wm/overview/window_selector_delegate.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
17 | 17 |
18 namespace ash { | 18 namespace ash { |
19 class WindowSelector; | 19 class WindowSelector; |
20 class WindowSelectorTest; | 20 class WindowSelectorTest; |
21 | 21 |
22 // Manages a window selector which displays an overview of all windows and | 22 // Manages a window selector which displays an overview of all windows and |
23 // allows selecting a window to activate it. | 23 // allows selecting a window to activate it. |
24 class ASH_EXPORT WindowSelectorController : public WindowSelectorDelegate { | 24 class ASH_EXPORT WindowSelectorController : public WindowSelectorDelegate { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 // widgets destroyed. | 68 // widgets destroyed. |
69 std::vector<std::unique_ptr<DelayedAnimationObserver>> delayed_animations_; | 69 std::vector<std::unique_ptr<DelayedAnimationObserver>> delayed_animations_; |
70 std::unique_ptr<WindowSelector> window_selector_; | 70 std::unique_ptr<WindowSelector> window_selector_; |
71 base::Time last_selection_time_; | 71 base::Time last_selection_time_; |
72 | 72 |
73 DISALLOW_COPY_AND_ASSIGN(WindowSelectorController); | 73 DISALLOW_COPY_AND_ASSIGN(WindowSelectorController); |
74 }; | 74 }; |
75 | 75 |
76 } // namespace ash | 76 } // namespace ash |
77 | 77 |
78 #endif // ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_CONTROLLER_H_ | 78 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_CONTROLLER_H_ |
OLD | NEW |