Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Side by Side Diff: components/mus/ws/platform_display_init_params.h

Issue 1825273002: Add more out of line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 mojo {
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(); 24 ~PlatformDisplayInitParams();
24 25
25 mojo::Connector* connector = nullptr; 26 mojo::Connector* connector = nullptr;
26 scoped_refptr<GpuState> gpu_state; 27 scoped_refptr<GpuState> gpu_state;
27 scoped_refptr<SurfacesState> surfaces_state; 28 scoped_refptr<SurfacesState> surfaces_state;
28 }; 29 };
29 30
30 } // namespace ws 31 } // namespace ws
31 } // namespace mus 32 } // namespace mus
32 33
33 #endif // COMPONENTS_MUS_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_ 34 #endif // COMPONENTS_MUS_WS_PLATFORM_DISPLAY_INIT_PARAMS_H_
OLDNEW
« no previous file with comments | « components/autofill/core/browser/field_candidates.cc ('k') | components/mus/ws/platform_display_init_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698