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_OVERVIEW_H_ | 5 #ifndef ASH_WM_OVERVIEW_WINDOW_OVERVIEW_H_ |
6 #define ASH_WM_OVERVIEW_WINDOW_OVERVIEW_H_ | 6 #define ASH_WM_OVERVIEW_WINDOW_OVERVIEW_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
| 11 #include "base/time/time.h" |
11 #include "ui/events/event_handler.h" | 12 #include "ui/events/event_handler.h" |
12 | 13 |
13 namespace aura { | 14 namespace aura { |
14 class Window; | 15 class Window; |
15 class RootWindow; | 16 class RootWindow; |
16 } | 17 } |
17 | 18 |
18 namespace ui { | 19 namespace ui { |
19 class LocatedEvent; | 20 class LocatedEvent; |
20 } | 21 } |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 WindowSelectorItemList* windows_; | 85 WindowSelectorItemList* windows_; |
85 | 86 |
86 // Widget indicating which window is currently selected. | 87 // Widget indicating which window is currently selected. |
87 scoped_ptr<views::Widget> selection_widget_; | 88 scoped_ptr<views::Widget> selection_widget_; |
88 | 89 |
89 // If NULL, each root window displays an overview of the windows in that | 90 // If NULL, each root window displays an overview of the windows in that |
90 // display. Otherwise, all windows are in a single overview on | 91 // display. Otherwise, all windows are in a single overview on |
91 // |single_root_window_|. | 92 // |single_root_window_|. |
92 aura::RootWindow* single_root_window_; | 93 aura::RootWindow* single_root_window_; |
93 | 94 |
| 95 // The time when overview was started. |
| 96 base::Time overview_start_time_; |
| 97 |
94 DISALLOW_COPY_AND_ASSIGN(WindowOverview); | 98 DISALLOW_COPY_AND_ASSIGN(WindowOverview); |
95 }; | 99 }; |
96 | 100 |
97 } // namespace ash | 101 } // namespace ash |
98 | 102 |
99 #endif // ASH_WM_OVERVIEW_WINDOW_OVERVIEW_H_ | 103 #endif // ASH_WM_OVERVIEW_WINDOW_OVERVIEW_H_ |
OLD | NEW |