| 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 // The ID of the display which should be primary when connected. | 252 // The ID of the display which should be primary when connected. |
| 252 // kInvalidDisplayID if no such preference is specified. | 253 // kInvalidDisplayID if no such preference is specified. |
| 253 int64 desired_primary_display_id_; | 254 int64 desired_primary_display_id_; |
| 254 | 255 |
| 255 ObserverList<Observer> observers_; | 256 ObserverList<Observer> observers_; |
| 256 | 257 |
| 257 // Store the primary root window temporarily while replacing | 258 // Store the primary root window temporarily while replacing |
| 258 // display. | 259 // display. |
| 259 aura::RootWindow* primary_root_window_for_replace_; | 260 aura::RootWindow* primary_root_window_for_replace_; |
| 260 | 261 |
| 262 scoped_ptr<internal::FocusActivationStore> focus_activation_store_; |
| 263 |
| 261 DISALLOW_COPY_AND_ASSIGN(DisplayController); | 264 DISALLOW_COPY_AND_ASSIGN(DisplayController); |
| 262 }; | 265 }; |
| 263 | 266 |
| 264 } // namespace ash | 267 } // namespace ash |
| 265 | 268 |
| 266 #endif // ASH_DISPLAY_DISPLAY_CONTROLLER_H_ | 269 #endif // ASH_DISPLAY_DISPLAY_CONTROLLER_H_ |
| OLD | NEW |