| Index: ui/display/types/display_snapshot.h
|
| diff --git a/ui/display/types/display_snapshot.h b/ui/display/types/display_snapshot.h
|
| index 7f697984fe581b105090cae83d08e22cfef3bb38..7f6591686e5d1fff52b55dd375552cc66e90c8ca 100644
|
| --- a/ui/display/types/display_snapshot.h
|
| +++ b/ui/display/types/display_snapshot.h
|
| @@ -32,6 +32,7 @@ class DISPLAY_TYPES_EXPORT DisplaySnapshot {
|
| std::string display_name,
|
| const base::FilePath& sys_path,
|
| const std::vector<const DisplayMode*>& modes,
|
| + const std::vector<uint8_t>& edid,
|
| const DisplayMode* current_mode,
|
| const DisplayMode* native_mode);
|
| virtual ~DisplaySnapshot();
|
| @@ -53,6 +54,7 @@ class DISPLAY_TYPES_EXPORT DisplaySnapshot {
|
| int64_t product_id() const { return product_id_; }
|
|
|
| const std::vector<const DisplayMode*>& modes() const { return modes_; }
|
| + const std::vector<uint8_t>& edid() const { return edid_; }
|
|
|
| void set_current_mode(const DisplayMode* mode) { current_mode_ = mode; }
|
| void set_origin(const gfx::Point& origin) { origin_ = origin; }
|
| @@ -85,6 +87,10 @@ class DISPLAY_TYPES_EXPORT DisplaySnapshot {
|
|
|
| std::vector<const DisplayMode*> modes_; // Not owned.
|
|
|
| + // The display's EDID. It can be empty if nothing extracted such as in the
|
| + // case of a virtual display.
|
| + std::vector<uint8_t> edid_;
|
| +
|
| // Mode currently being used by the output.
|
| const DisplayMode* current_mode_;
|
|
|
|
|