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

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

Issue 667753002: Treat displays with and without EDID the same way (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « ui/ozone/common/display_util.cc ('k') | ui/ozone/common/gpu/ozone_gpu_message_params.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 10 matching lines...) Expand all
21 gfx::Size size; 21 gfx::Size size;
22 bool is_interlaced; 22 bool is_interlaced;
23 float refresh_rate; 23 float refresh_rate;
24 }; 24 };
25 25
26 struct DisplaySnapshot_Params { 26 struct DisplaySnapshot_Params {
27 DisplaySnapshot_Params(); 27 DisplaySnapshot_Params();
28 ~DisplaySnapshot_Params(); 28 ~DisplaySnapshot_Params();
29 29
30 int64_t display_id; 30 int64_t display_id;
31 bool has_proper_display_id;
32 gfx::Point origin; 31 gfx::Point origin;
33 gfx::Size physical_size; 32 gfx::Size physical_size;
34 DisplayConnectionType type; 33 DisplayConnectionType type;
35 bool is_aspect_preserving_scaling; 34 bool is_aspect_preserving_scaling;
36 bool has_overscan; 35 bool has_overscan;
37 std::string display_name; 36 std::string display_name;
38 std::vector<DisplayMode_Params> modes; 37 std::vector<DisplayMode_Params> modes;
39 bool has_current_mode; 38 bool has_current_mode;
40 DisplayMode_Params current_mode; 39 DisplayMode_Params current_mode;
41 bool has_native_mode; 40 bool has_native_mode;
42 DisplayMode_Params native_mode; 41 DisplayMode_Params native_mode;
43 std::string string_representation; 42 std::string string_representation;
44 }; 43 };
45 44
46 } // namespace ui 45 } // namespace ui
47 46
48 #endif // UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ 47 #endif // UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_
49 48
OLDNEW
« no previous file with comments | « ui/ozone/common/display_util.cc ('k') | ui/ozone/common/gpu/ozone_gpu_message_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698