| Index: ui/ozone/common/gpu/ozone_gpu_message_params.cc
|
| diff --git a/ui/ozone/common/gpu/ozone_gpu_message_params.cc b/ui/ozone/common/gpu/ozone_gpu_message_params.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8460b5326b13d85d3d0649815245bfa819503e3d
|
| --- /dev/null
|
| +++ b/ui/ozone/common/gpu/ozone_gpu_message_params.cc
|
| @@ -0,0 +1,36 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "ui/ozone/common/gpu/ozone_gpu_message_params.h"
|
| +
|
| +#include "ui/gfx/geometry/rect_conversions.h"
|
| +
|
| +namespace ui {
|
| +
|
| +DisplayMode_Params::DisplayMode_Params() {
|
| +}
|
| +
|
| +DisplayMode_Params::~DisplayMode_Params() {}
|
| +
|
| +DisplaySnapshot_Params::DisplaySnapshot_Params() {
|
| +}
|
| +
|
| +DisplaySnapshot_Params::~DisplaySnapshot_Params() {}
|
| +
|
| +OverlayCheck_Params::OverlayCheck_Params() {
|
| +}
|
| +
|
| +OverlayCheck_Params::OverlayCheck_Params(
|
| + const OverlayCandidatesOzone::OverlaySurfaceCandidate& candidate)
|
| + : buffer_size(candidate.buffer_size),
|
| + transform(candidate.transform),
|
| + format(candidate.format),
|
| + display_rect(gfx::ToNearestRect(candidate.display_rect)),
|
| + plane_z_order(candidate.plane_z_order) {
|
| +}
|
| +
|
| +OverlayCheck_Params::~OverlayCheck_Params() {
|
| +}
|
| +
|
| +} // namespace ui
|
|
|