Chromium Code Reviews| Index: ui/display/util/display_util.h |
| diff --git a/ui/display/util/display_util.h b/ui/display/util/display_util.h |
| index 012269d1038062fe189eb2e4416fe9c6930faff6..5e990264e34684520b7314b9fef34f8960005c80 100644 |
| --- a/ui/display/util/display_util.h |
| +++ b/ui/display/util/display_util.h |
| @@ -21,6 +21,17 @@ DISPLAY_UTIL_EXPORT float GetScaleFactor( |
| const gfx::Size& physical_size_in_mm, |
| const gfx::Size& screen_size_in_pixels); |
| +// Returns 64-bit persistent ID for the specified manufacturer's ID and |
| +// product_code_hash, and the index of the output it is connected to. |
| +// |output_index| is used to distinguish the displays of the same type. For |
| +// example, swapping two identical display between two outputs will not be |
| +// treated as swap. The 'serial number' field in EDID isn't used here because |
| +// it is not guaranteed to have unique number and it may have the same fixed |
| +// value (like 0). |
| +DISPLAY_UTIL_EXPORT int64_t GetDisplayID(uint16_t manufacturer_id, |
|
oshima
2015/12/02 20:34:27
Generate/Create DisplayID (whichever you prefer)
robert.bradford
2015/12/03 18:44:57
Done -> GenerateDisplayID.
|
| + uint32_t product_code_hash, |
| + uint8_t output_index); |
| + |
| } // namespace ui |
| #endif // UI_DISPLAY_UTIL_DISPLAY_UTIL_H_ |