Index: ui/display/display.h |
diff --git a/ui/display/display.h b/ui/display/display.h |
index b9d48b6c7ed74d16b9665a5f6a92e865e920e6a1..17bb00bb49139ea5225a24b95ae561b05b19c3b9 100644 |
--- a/ui/display/display.h |
+++ b/ui/display/display.h |
@@ -10,7 +10,6 @@ |
#include "base/compiler_specific.h" |
#include "ui/display/display_export.h" |
#include "ui/gfx/geometry/rect.h" |
-#include "ui/gfx/icc_profile.h" |
#if !defined(OS_IOS) |
#include "mojo/public/cpp/bindings/struct_traits.h" // nogncheck |
@@ -165,30 +164,14 @@ |
maximum_cursor_size_ = size; |
} |
- // The full ICC profile of the display. |
- gfx::ICCProfile icc_profile() const { return icc_profile_; } |
- void set_icc_profile(const gfx::ICCProfile& icc_profile) { |
- icc_profile_ = icc_profile; |
- } |
- |
- // The number of bits per pixel. Used by media query APIs. |
int color_depth() const { return color_depth_; } |
void set_color_depth(int color_depth) { |
color_depth_ = color_depth; |
} |
- // The number of bits per color component (all color components are assumed to |
- // have the same number of bits). Used by media query APIs. |
int depth_per_component() const { return depth_per_component_; } |
void set_depth_per_component(int depth_per_component) { |
depth_per_component_ = depth_per_component; |
- } |
- |
- // True if this is a monochrome display (e.g, for accessiblity). Used by media |
- // query APIs. |
- bool is_monochrome() const { return is_monochrome_; } |
- void set_is_monochrome(bool is_monochrome) { |
- is_monochrome_ = is_monochrome; |
} |
private: |
@@ -199,10 +182,8 @@ |
Rotation rotation_; |
TouchSupport touch_support_; |
gfx::Size maximum_cursor_size_; |
- gfx::ICCProfile icc_profile_; |
int color_depth_; |
int depth_per_component_; |
- bool is_monochrome_; |
#if !defined(OS_IOS) |
friend struct mojo::StructTraits<display::mojom::DisplayDataView, |