| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ | 5 #ifndef UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ |
| 6 #define UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ | 6 #define UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 }; | 30 }; |
| 31 | 31 |
| 32 struct DisplaySnapshot_Params { | 32 struct DisplaySnapshot_Params { |
| 33 DisplaySnapshot_Params(); | 33 DisplaySnapshot_Params(); |
| 34 DisplaySnapshot_Params(const DisplaySnapshot_Params& other); | 34 DisplaySnapshot_Params(const DisplaySnapshot_Params& other); |
| 35 ~DisplaySnapshot_Params(); | 35 ~DisplaySnapshot_Params(); |
| 36 | 36 |
| 37 int64_t display_id = 0; | 37 int64_t display_id = 0; |
| 38 gfx::Point origin; | 38 gfx::Point origin; |
| 39 gfx::Size physical_size; | 39 gfx::Size physical_size; |
| 40 DisplayConnectionType type = DISPLAY_CONNECTION_TYPE_NONE; | 40 display::DisplayConnectionType type = display::DISPLAY_CONNECTION_TYPE_NONE; |
| 41 bool is_aspect_preserving_scaling = false; | 41 bool is_aspect_preserving_scaling = false; |
| 42 bool has_overscan = false; | 42 bool has_overscan = false; |
| 43 bool has_color_correction_matrix = false; | 43 bool has_color_correction_matrix = false; |
| 44 std::string display_name; | 44 std::string display_name; |
| 45 base::FilePath sys_path; | 45 base::FilePath sys_path; |
| 46 std::vector<DisplayMode_Params> modes; | 46 std::vector<DisplayMode_Params> modes; |
| 47 std::vector<uint8_t> edid; | 47 std::vector<uint8_t> edid; |
| 48 bool has_current_mode = false; | 48 bool has_current_mode = false; |
| 49 DisplayMode_Params current_mode; | 49 DisplayMode_Params current_mode; |
| 50 bool has_native_mode = false; | 50 bool has_native_mode = false; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 70 gfx::RectF crop_rect; | 70 gfx::RectF crop_rect; |
| 71 int plane_z_order = 0; | 71 int plane_z_order = 0; |
| 72 // By default we mark this configuration valid for promoting it to an overlay. | 72 // By default we mark this configuration valid for promoting it to an overlay. |
| 73 bool is_overlay_candidate = true; | 73 bool is_overlay_candidate = true; |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 } // namespace ui | 76 } // namespace ui |
| 77 | 77 |
| 78 #endif // UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ | 78 #endif // UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ |
| 79 | 79 |
| OLD | NEW |