| 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 "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 | 9 |
| 10 namespace mojo { | 10 namespace shell { |
| 11 class Connector; | 11 class Connector; |
| 12 } | 12 } |
| 13 | 13 |
| 14 namespace mus { | 14 namespace mus { |
| 15 | 15 |
| 16 class GpuState; | 16 class GpuState; |
| 17 class SurfacesState; | 17 class SurfacesState; |
| 18 | 18 |
| 19 namespace ws { | 19 namespace ws { |
| 20 | 20 |
| 21 struct PlatformDisplayInitParams { | 21 struct PlatformDisplayInitParams { |
| 22 PlatformDisplayInitParams(); | 22 PlatformDisplayInitParams(); |
| 23 PlatformDisplayInitParams(const PlatformDisplayInitParams& other); | 23 PlatformDisplayInitParams(const PlatformDisplayInitParams& other); |
| 24 ~PlatformDisplayInitParams(); | 24 ~PlatformDisplayInitParams(); |
| 25 | 25 |
| 26 mojo::Connector* connector = nullptr; | 26 shell::Connector* connector = nullptr; |
| 27 scoped_refptr<GpuState> gpu_state; | 27 scoped_refptr<GpuState> gpu_state; |
| 28 scoped_refptr<SurfacesState> surfaces_state; | 28 scoped_refptr<SurfacesState> surfaces_state; |
| 29 }; | 29 }; |
| 30 | 30 |
| 31 } // namespace ws | 31 } // namespace ws |
| 32 } // namespace mus | 32 } // namespace mus |
| 33 | 33 |
| 34 #endif // COMPONENTS_MUS_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_ | 34 #endif // COMPONENTS_MUS_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_ |
| OLD | NEW |