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..7bac1917f9e93ca284f0f9228d34cc77cfd409e1 100644 |
--- a/ui/display/types/display_snapshot.h |
+++ b/ui/display/types/display_snapshot.h |
@@ -29,6 +29,7 @@ class DISPLAY_TYPES_EXPORT DisplaySnapshot { |
DisplayConnectionType type, |
bool is_aspect_preserving_scaling, |
bool has_overscan, |
+ bool has_color_correction_matrix, |
std::string display_name, |
const base::FilePath& sys_path, |
const std::vector<const DisplayMode*>& modes, |
@@ -58,6 +59,11 @@ class DISPLAY_TYPES_EXPORT DisplaySnapshot { |
void set_origin(const gfx::Point& origin) { origin_ = origin; } |
void add_mode(const DisplayMode* mode) { modes_.push_back(mode); } |
+ // Whether this display has advanced color correction available. |
+ bool has_color_correction_matrix() const { |
+ return has_color_correction_matrix_; |
+ } |
+ |
// Returns a textual representation of this display state. |
virtual std::string ToString() const = 0; |
@@ -79,6 +85,8 @@ class DISPLAY_TYPES_EXPORT DisplaySnapshot { |
bool has_overscan_; |
+ bool has_color_correction_matrix_; |
+ |
std::string display_name_; |
base::FilePath sys_path_; |