Index: ui/display/types/display_snapshot.h |
diff --git a/ui/display/types/display_snapshot.h b/ui/display/types/display_snapshot.h |
index c59ecded646827b2c5d7e396bb723a72b4cf4d0b..e2e4983503b326e40cee378cb163a9048373924e 100644 |
--- a/ui/display/types/display_snapshot.h |
+++ b/ui/display/types/display_snapshot.h |
@@ -25,6 +25,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 std::vector<const DisplayMode*>& modes, |
const DisplayMode* current_mode, |
@@ -52,6 +53,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; |
@@ -73,6 +79,8 @@ class DISPLAY_TYPES_EXPORT DisplaySnapshot { |
bool has_overscan_; |
+ bool has_color_correction_matrix_; |
+ |
std::string display_name_; |
std::vector<const DisplayMode*> modes_; // Not owned. |