| 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_WM_OVERVIEW_WINDOW_SELECTOR_CONTROLLER_H_ | 5 #ifndef ASH_WM_OVERVIEW_WINDOW_SELECTOR_CONTROLLER_H_ |
| 6 #define ASH_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/wm/overview/window_selector.h" | 13 #include "ash/wm/overview/window_selector.h" |
| 14 #include "ash/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 #include "ui/aura/window_observer.h" | |
| 18 | |
| 19 namespace aura { | |
| 20 class Window; | |
| 21 } | |
| 22 | 17 |
| 23 namespace ash { | 18 namespace ash { |
| 24 class WindowSelector; | 19 class WindowSelector; |
| 25 class WindowSelectorTest; | 20 class WindowSelectorTest; |
| 26 | 21 |
| 27 // 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 |
| 28 // allows selecting a window to activate it. | 23 // allows selecting a window to activate it. |
| 29 class ASH_EXPORT WindowSelectorController | 24 class ASH_EXPORT WindowSelectorController |
| 30 : public WindowSelectorDelegate { | 25 : public WindowSelectorDelegate { |
| 31 public: | 26 public: |
| (...skipping 27 matching lines...) Expand all Loading... |
| 59 | 54 |
| 60 std::unique_ptr<WindowSelector> window_selector_; | 55 std::unique_ptr<WindowSelector> window_selector_; |
| 61 base::Time last_selection_time_; | 56 base::Time last_selection_time_; |
| 62 | 57 |
| 63 DISALLOW_COPY_AND_ASSIGN(WindowSelectorController); | 58 DISALLOW_COPY_AND_ASSIGN(WindowSelectorController); |
| 64 }; | 59 }; |
| 65 | 60 |
| 66 } // namespace ash | 61 } // namespace ash |
| 67 | 62 |
| 68 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_CONTROLLER_H_ | 63 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_CONTROLLER_H_ |
| OLD | NEW |