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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 const DisplayLayout& layout); | 224 const DisplayLayout& layout); |
225 | 225 |
226 void RegisterLayoutForDisplayIdPairInternal( | 226 void RegisterLayoutForDisplayIdPairInternal( |
227 int64 id1, | 227 int64 id1, |
228 int64 id2, | 228 int64 id2, |
229 const DisplayLayout& layout, | 229 const DisplayLayout& layout, |
230 bool override); | 230 bool override); |
231 | 231 |
232 void OnFadeOutForSwapDisplayFinished(); | 232 void OnFadeOutForSwapDisplayFinished(); |
233 | 233 |
| 234 void UpdateHostWindowNames(); |
| 235 |
234 bool in_bootstrap() const { return in_bootstrap_; } | 236 bool in_bootstrap() const { return in_bootstrap_; } |
235 | 237 |
236 class DisplayChangeLimiter { | 238 class DisplayChangeLimiter { |
237 public: | 239 public: |
238 DisplayChangeLimiter(); | 240 DisplayChangeLimiter(); |
239 | 241 |
240 // Sets how long the throttling should last. | 242 // Sets how long the throttling should last. |
241 void SetThrottleTimeout(int64 throttle_ms); | 243 void SetThrottleTimeout(int64 throttle_ms); |
242 | 244 |
243 bool IsThrottled() const; | 245 bool IsThrottled() const; |
(...skipping 27 matching lines...) Expand all Loading... |
271 bool in_bootstrap_; | 273 bool in_bootstrap_; |
272 | 274 |
273 scoped_ptr<internal::FocusActivationStore> focus_activation_store_; | 275 scoped_ptr<internal::FocusActivationStore> focus_activation_store_; |
274 | 276 |
275 DISALLOW_COPY_AND_ASSIGN(DisplayController); | 277 DISALLOW_COPY_AND_ASSIGN(DisplayController); |
276 }; | 278 }; |
277 | 279 |
278 } // namespace ash | 280 } // namespace ash |
279 | 281 |
280 #endif // ASH_DISPLAY_DISPLAY_CONTROLLER_H_ | 282 #endif // ASH_DISPLAY_DISPLAY_CONTROLLER_H_ |
OLD | NEW |