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_MANAGER_H_ | 5 #ifndef ASH_DISPLAY_DISPLAY_MANAGER_H_ |
6 #define ASH_DISPLAY_DISPLAY_MANAGER_H_ | 6 #define ASH_DISPLAY_DISPLAY_MANAGER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 // SoftwareMirroringController override: | 285 // SoftwareMirroringController override: |
286 #if defined(OS_CHROMEOS) | 286 #if defined(OS_CHROMEOS) |
287 void SetSoftwareMirroring(bool enabled) override; | 287 void SetSoftwareMirroring(bool enabled) override; |
288 bool SoftwareMirroringEnabled() const override; | 288 bool SoftwareMirroringEnabled() const override; |
289 #endif | 289 #endif |
290 | 290 |
291 // Sets/gets multi display mode. | 291 // Sets/gets multi display mode. |
292 void SetMultiDisplayMode(MultiDisplayMode mode); | 292 void SetMultiDisplayMode(MultiDisplayMode mode); |
293 | 293 |
294 // Sets/gets default multi display mode. | 294 // Sets/gets default multi display mode. |
295 | 295 void SetDefaultMultiDisplayMode(MultiDisplayMode mode); |
296 MultiDisplayMode default_multi_display_mode() const { | 296 MultiDisplayMode default_multi_display_mode() const { |
297 return default_multi_display_mode_; | 297 return default_multi_display_mode_; |
298 } | 298 } |
299 | 299 |
300 // Update the bounds of the display given by |display_id|. | 300 // Update the bounds of the display given by |display_id|. |
301 bool UpdateDisplayBounds(int64 display_id, | 301 bool UpdateDisplayBounds(int64 display_id, |
302 const gfx::Rect& new_bounds); | 302 const gfx::Rect& new_bounds); |
303 | 303 |
304 // Creates mirror window asynchronously if the software mirror mode | 304 // Creates mirror window asynchronously if the software mirror mode |
305 // is enabled. | 305 // is enabled. |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 gfx::Display::Rotation registered_internal_display_rotation_; | 424 gfx::Display::Rotation registered_internal_display_rotation_; |
425 | 425 |
426 base::WeakPtrFactory<DisplayManager> weak_ptr_factory_; | 426 base::WeakPtrFactory<DisplayManager> weak_ptr_factory_; |
427 | 427 |
428 DISALLOW_COPY_AND_ASSIGN(DisplayManager); | 428 DISALLOW_COPY_AND_ASSIGN(DisplayManager); |
429 }; | 429 }; |
430 | 430 |
431 } // namespace ash | 431 } // namespace ash |
432 | 432 |
433 #endif // ASH_DISPLAY_DISPLAY_MANAGER_H_ | 433 #endif // ASH_DISPLAY_DISPLAY_MANAGER_H_ |
OLD | NEW |