OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DISPLAY_DISPLAY_CONTROLLER_H_ | 5 #ifndef ASH_DISPLAY_DISPLAY_CONTROLLER_H_ |
6 #define ASH_DISPLAY_DISPLAY_CONTROLLER_H_ | 6 #define ASH_DISPLAY_DISPLAY_CONTROLLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 } | 24 } |
25 | 25 |
26 namespace base { | 26 namespace base { |
27 class Value; | 27 class Value; |
28 template <typename T> class JSONValueConverter; | 28 template <typename T> class JSONValueConverter; |
29 } | 29 } |
30 | 30 |
31 namespace ash { | 31 namespace ash { |
32 namespace internal { | 32 namespace internal { |
33 class DisplayManager; | 33 class DisplayManager; |
| 34 class FocusActivationStore; |
34 class RootWindowController; | 35 class RootWindowController; |
35 } | 36 } |
36 | 37 |
37 typedef std::pair<int64, int64> DisplayIdPair; | 38 typedef std::pair<int64, int64> DisplayIdPair; |
38 | 39 |
39 struct ASH_EXPORT DisplayLayout { | 40 struct ASH_EXPORT DisplayLayout { |
40 // Layout options where the secondary display should be positioned. | 41 // Layout options where the secondary display should be positioned. |
41 enum Position { | 42 enum Position { |
42 TOP, | 43 TOP, |
43 RIGHT, | 44 RIGHT, |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 std::map<DisplayIdPair, DisplayLayout> paired_layouts_; | 266 std::map<DisplayIdPair, DisplayLayout> paired_layouts_; |
266 | 267 |
267 ObserverList<Observer> observers_; | 268 ObserverList<Observer> observers_; |
268 | 269 |
269 // Store the primary root window temporarily while replacing | 270 // Store the primary root window temporarily while replacing |
270 // display. | 271 // display. |
271 aura::RootWindow* primary_root_window_for_replace_; | 272 aura::RootWindow* primary_root_window_for_replace_; |
272 | 273 |
273 bool in_bootstrap_; | 274 bool in_bootstrap_; |
274 | 275 |
| 276 scoped_ptr<internal::FocusActivationStore> focus_activation_store_; |
| 277 |
275 DISALLOW_COPY_AND_ASSIGN(DisplayController); | 278 DISALLOW_COPY_AND_ASSIGN(DisplayController); |
276 }; | 279 }; |
277 | 280 |
278 } // namespace ash | 281 } // namespace ash |
279 | 282 |
280 #endif // ASH_DISPLAY_DISPLAY_CONTROLLER_H_ | 283 #endif // ASH_DISPLAY_DISPLAY_CONTROLLER_H_ |
OLD | NEW |