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

Unified Diff: ui/display/util/edid_parser.h

Issue 1151583002: Generate display product id with EDID manufacturer product code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/display/util/edid_parser.cc » ('j') | ui/display/util/edid_parser.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/util/edid_parser.h
diff --git a/ui/display/util/edid_parser.h b/ui/display/util/edid_parser.h
index e2f0d8357317be8e7ac147ad92dbff9c9adb9423..385abe99f7a1404638d9f4a7145a619aa8e26545 100644
--- a/ui/display/util/edid_parser.h
+++ b/ui/display/util/edid_parser.h
@@ -30,13 +30,15 @@ DISPLAY_UTIL_EXPORT bool GetDisplayIdFromEDID(const std::vector<uint8_t>& edid,
int64_t* product_id_out);
// Parses |edid| as EDID data and stores extracted data into |manufacturer_id|,
-// |human_readable_name|, |active_pixel_out| and |physical_display_size_out|,
-// then returns true. nullptr can be passed for unwanted output parameters.
-// Some devices (especially internal displays) may not have the field for
-// |human_readable_name|, and it will return true in that case.
+// |product_code|, |human_readable_name|, |active_pixel_out| and
+// |physical_display_size_out|, then returns true. nullptr can be passed for
+// unwanted output parameters. Some devices (especially internal displays) may
+// not have the field for |human_readable_name|, and it will return true in
+// that case.
DISPLAY_UTIL_EXPORT bool ParseOutputDeviceData(
const std::vector<uint8_t>& edid,
uint16_t* manufacturer_id,
+ uint16_t* product_code,
std::string* human_readable_name,
gfx::Size* active_pixel_out,
gfx::Size* physical_display_size_out);
« no previous file with comments | « no previous file | ui/display/util/edid_parser.cc » ('j') | ui/display/util/edid_parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698