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

Side by Side Diff: ui/ozone/common/gpu/ozone_gpu_message_params.cc

Issue 1285183008: Ozone integration. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: add missing license header Created 5 years, 4 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
(Empty)
1 // Copyright 2014 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 #include "ui/ozone/common/gpu/ozone_gpu_message_params.h"
6
7 #include "ui/gfx/geometry/rect_conversions.h"
8
9 namespace ui {
10
11 DisplayMode_Params::DisplayMode_Params() {
12 }
13
14 DisplayMode_Params::~DisplayMode_Params() {}
15
16 DisplaySnapshot_Params::DisplaySnapshot_Params() {
17 }
18
19 DisplaySnapshot_Params::~DisplaySnapshot_Params() {}
20
21 OverlayCheck_Params::OverlayCheck_Params() {
22 }
23
24 OverlayCheck_Params::OverlayCheck_Params(
25 const OverlayCandidatesOzone::OverlaySurfaceCandidate& candidate)
26 : buffer_size(candidate.buffer_size),
27 transform(candidate.transform),
28 format(candidate.format),
29 display_rect(gfx::ToNearestRect(candidate.display_rect)),
30 plane_z_order(candidate.plane_z_order) {
31 }
32
33 OverlayCheck_Params::~OverlayCheck_Params() {
34 }
35
36 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/common/gpu/ozone_gpu_message_params.h ('k') | ui/ozone/common/native_display_delegate_ozone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698