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

Side by Side Diff: ui/ozone/platform/drm/gpu/fake_plane_info.h

Issue 1871743003: ui: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 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_OZONE_PLATFORM_DRM_GPU_FAKE_PLANE_INFO_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_FAKE_PLANE_INFO_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_FAKE_PLANE_INFO_H_ 6 #define UI_OZONE_PLATFORM_DRM_GPU_FAKE_PLANE_INFO_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 13
14 namespace ui { 14 namespace ui {
15 15
16 struct FakePlaneInfo { 16 struct FakePlaneInfo {
17 FakePlaneInfo(uint32_t plane_id, uint32_t crtc_mask); 17 FakePlaneInfo(uint32_t plane_id, uint32_t crtc_mask);
18 FakePlaneInfo(uint32_t plane_id, 18 FakePlaneInfo(uint32_t plane_id,
19 uint32_t crtc_mask, 19 uint32_t crtc_mask,
20 const std::vector<uint32_t>& formats); 20 const std::vector<uint32_t>& formats);
21 FakePlaneInfo(const FakePlaneInfo& other);
21 ~FakePlaneInfo(); 22 ~FakePlaneInfo();
22 23
23 uint32_t id; 24 uint32_t id;
24 uint32_t allowed_crtc_mask; 25 uint32_t allowed_crtc_mask;
25 std::vector<uint32_t> allowed_formats; 26 std::vector<uint32_t> allowed_formats;
26 }; 27 };
27 28
28 } // namespace ui 29 } // namespace ui
29 30
30 #endif // UI_OZONE_PLATFORM_DRM_GPU_FAKE_PLANE_INFO_H_ 31 #endif // UI_OZONE_PLATFORM_DRM_GPU_FAKE_PLANE_INFO_H_
OLDNEW
« no previous file with comments | « ui/ozone/common/gpu/ozone_gpu_message_params.cc ('k') | ui/ozone/platform/drm/gpu/fake_plane_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698