| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 UI_DISPLAY_MANAGER_CHROMEOS_DISPLAY_LAYOUT_MANAGER_H_ | 5 #ifndef UI_DISPLAY_MANAGER_CHROMEOS_DISPLAY_LAYOUT_MANAGER_H_ |
| 6 #define UI_DISPLAY_MANAGER_CHROMEOS_DISPLAY_LAYOUT_MANAGER_H_ | 6 #define UI_DISPLAY_MANAGER_CHROMEOS_DISPLAY_LAYOUT_MANAGER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "third_party/cros_system_api/dbus/service_constants.h" | 10 #include "third_party/cros_system_api/dbus/service_constants.h" |
| 11 #include "ui/display/manager/chromeos/display_configurator.h" | 11 #include "ui/display/manager/chromeos/display_configurator.h" |
| 12 #include "ui/display/types/display_constants.h" | 12 #include "ui/display/types/display_constants.h" |
| 13 | 13 |
| 14 namespace ui { | 14 namespace display { |
| 15 | 15 |
| 16 struct DisplayConfigureRequest; | 16 struct DisplayConfigureRequest; |
| 17 class DisplaySnapshot; | 17 class DisplaySnapshot; |
| 18 | 18 |
| 19 class DisplayLayoutManager { | 19 class DisplayLayoutManager { |
| 20 public: | 20 public: |
| 21 virtual ~DisplayLayoutManager() {} | 21 virtual ~DisplayLayoutManager() {} |
| 22 | 22 |
| 23 virtual DisplayConfigurator::SoftwareMirroringController* | 23 virtual DisplayConfigurator::SoftwareMirroringController* |
| 24 GetSoftwareMirroringController() const = 0; | 24 GetSoftwareMirroringController() const = 0; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 39 MultipleDisplayState new_display_state, | 39 MultipleDisplayState new_display_state, |
| 40 chromeos::DisplayPowerState new_power_state, | 40 chromeos::DisplayPowerState new_power_state, |
| 41 std::vector<DisplayConfigureRequest>* requests, | 41 std::vector<DisplayConfigureRequest>* requests, |
| 42 gfx::Size* framebuffer_size) const = 0; | 42 gfx::Size* framebuffer_size) const = 0; |
| 43 | 43 |
| 44 virtual std::vector<DisplaySnapshot*> GetDisplayStates() const = 0; | 44 virtual std::vector<DisplaySnapshot*> GetDisplayStates() const = 0; |
| 45 | 45 |
| 46 virtual bool IsMirroring() const = 0; | 46 virtual bool IsMirroring() const = 0; |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 } // namespace ui | 49 } // namespace display |
| 50 | 50 |
| 51 #endif // UI_DISPLAY_MANAGER_CHROMEOS_DISPLAY_LAYOUT_MANAGER_H_ | 51 #endif // UI_DISPLAY_MANAGER_CHROMEOS_DISPLAY_LAYOUT_MANAGER_H_ |
| OLD | NEW |