| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 COMPONENTS_MUS_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_ | 5 #ifndef COMPONENTS_MUS_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_ |
| 6 #define COMPONENTS_MUS_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_ | 6 #define COMPONENTS_MUS_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "ui/gfx/geometry/rect.h" |
| 9 | 12 |
| 10 namespace shell { | 13 namespace shell { |
| 11 class Connector; | 14 class Connector; |
| 12 } | 15 } |
| 13 | 16 |
| 14 namespace mus { | 17 namespace mus { |
| 15 | 18 |
| 16 class GpuState; | 19 class GpuState; |
| 17 class SurfacesState; | 20 class SurfacesState; |
| 18 | 21 |
| 19 namespace ws { | 22 namespace ws { |
| 20 | 23 |
| 21 struct PlatformDisplayInitParams { | 24 struct PlatformDisplayInitParams { |
| 22 PlatformDisplayInitParams(); | 25 PlatformDisplayInitParams(); |
| 23 PlatformDisplayInitParams(const PlatformDisplayInitParams& other); | 26 PlatformDisplayInitParams(const PlatformDisplayInitParams& other); |
| 24 ~PlatformDisplayInitParams(); | 27 ~PlatformDisplayInitParams(); |
| 25 | 28 |
| 26 shell::Connector* connector = nullptr; | 29 shell::Connector* connector = nullptr; |
| 27 scoped_refptr<GpuState> gpu_state; | 30 scoped_refptr<GpuState> gpu_state; |
| 28 scoped_refptr<SurfacesState> surfaces_state; | 31 scoped_refptr<SurfacesState> surfaces_state; |
| 32 |
| 33 gfx::Rect display_bounds; |
| 34 int64_t display_id; |
| 29 }; | 35 }; |
| 30 | 36 |
| 31 } // namespace ws | 37 } // namespace ws |
| 32 } // namespace mus | 38 } // namespace mus |
| 33 | 39 |
| 34 #endif // COMPONENTS_MUS_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_ | 40 #endif // COMPONENTS_MUS_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_ |
| OLD | NEW |