Chromium Code Reviews| 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> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 14 #include "ui/display/types/display_constants.h" | 14 #include "ui/display/types/display_constants.h" |
| 15 #include "ui/gfx/buffer_types.h" | 15 #include "ui/gfx/buffer_types.h" |
| 16 #include "ui/gfx/geometry/point.h" | 16 #include "ui/gfx/geometry/point.h" |
| 17 #include "ui/gfx/geometry/size.h" | 17 #include "ui/gfx/geometry/size.h" |
| 18 #include "ui/gfx/overlay_transform.h" | 18 #include "ui/gfx/overlay_transform.h" |
| 19 #include "ui/ozone/public/overlay_candidates_ozone.h" | 19 #include "ui/ozone/public/overlay_candidates_ozone.h" |
| 20 | 20 |
| 21 namespace ui { | 21 namespace ui { |
| 22 | 22 |
| 23 struct DisplayMode_Params { | 23 struct DisplayMode_Params { |
| 24 DisplayMode_Params(); | |
|
kylechar
2017/01/16 23:08:24
Not sure why you removed these but you didn't remo
thanhph1
2017/01/17 16:47:59
I put this back. Thanks!
| |
| 25 ~DisplayMode_Params(); | |
| 26 | |
| 27 gfx::Size size; | 24 gfx::Size size; |
| 28 bool is_interlaced = false; | 25 bool is_interlaced = false; |
| 29 float refresh_rate = 0.0f; | 26 float refresh_rate = 0.0f; |
| 30 }; | 27 }; |
| 31 | 28 |
| 32 struct DisplaySnapshot_Params { | 29 struct DisplaySnapshot_Params { |
| 33 DisplaySnapshot_Params(); | 30 DisplaySnapshot_Params(); |
| 34 DisplaySnapshot_Params(const DisplaySnapshot_Params& other); | 31 DisplaySnapshot_Params(const DisplaySnapshot_Params& other); |
| 35 ~DisplaySnapshot_Params(); | 32 ~DisplaySnapshot_Params(); |
| 36 | 33 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 70 gfx::RectF crop_rect; | 67 gfx::RectF crop_rect; |
| 71 int plane_z_order = 0; | 68 int plane_z_order = 0; |
| 72 // By default we mark this configuration valid for promoting it to an overlay. | 69 // By default we mark this configuration valid for promoting it to an overlay. |
| 73 bool is_overlay_candidate = true; | 70 bool is_overlay_candidate = true; |
| 74 }; | 71 }; |
| 75 | 72 |
| 76 } // namespace ui | 73 } // namespace ui |
| 77 | 74 |
| 78 #endif // UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ | 75 #endif // UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ |
| 79 | 76 |
| OLD | NEW |