base: Change DCHECK_IS_ON to a macro DCHECK_IS_ON().
[chromium-blink-merge.git] / ui / ozone / common / gpu / ozone_gpu_message_params.h
blobfe35df9f6b998b4094c5117cc82580e84e57daca
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.
5 #ifndef UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_
6 #define UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_
8 #include <string>
9 #include <vector>
11 #include "ui/display/types/display_constants.h"
12 #include "ui/gfx/geometry/point.h"
13 #include "ui/gfx/geometry/size.h"
15 namespace ui {
17 struct DisplayMode_Params {
18 DisplayMode_Params();
19 ~DisplayMode_Params();
21 gfx::Size size;
22 bool is_interlaced;
23 float refresh_rate;
26 struct DisplaySnapshot_Params {
27 DisplaySnapshot_Params();
28 ~DisplaySnapshot_Params();
30 int64_t display_id;
31 gfx::Point origin;
32 gfx::Size physical_size;
33 DisplayConnectionType type;
34 bool is_aspect_preserving_scaling;
35 bool has_overscan;
36 std::string display_name;
37 std::vector<DisplayMode_Params> modes;
38 bool has_current_mode;
39 DisplayMode_Params current_mode;
40 bool has_native_mode;
41 DisplayMode_Params native_mode;
42 std::string string_representation;
45 } // namespace ui
47 #endif // UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_