Supervised user whitelists: Cleanup
[chromium-blink-merge.git] / ui / ozone / common / gpu / ozone_gpu_message_params.h
blob298a9fbe44e1c2e5aca0bb38dc8409c5cdbf207f
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"
14 #include "ui/ozone/ozone_export.h"
16 namespace ui {
18 struct OZONE_EXPORT DisplayMode_Params {
19 DisplayMode_Params();
20 ~DisplayMode_Params();
22 gfx::Size size;
23 bool is_interlaced;
24 float refresh_rate;
27 struct OZONE_EXPORT DisplaySnapshot_Params {
28 DisplaySnapshot_Params();
29 ~DisplaySnapshot_Params();
31 int64_t display_id;
32 gfx::Point origin;
33 gfx::Size physical_size;
34 DisplayConnectionType type;
35 bool is_aspect_preserving_scaling;
36 bool has_overscan;
37 std::string display_name;
38 std::vector<DisplayMode_Params> modes;
39 bool has_current_mode;
40 DisplayMode_Params current_mode;
41 bool has_native_mode;
42 DisplayMode_Params native_mode;
43 std::string string_representation;
46 } // namespace ui
48 #endif // UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_