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