| Index: cc/trees/layer_tree.h
|
| diff --git a/cc/trees/layer_tree.h b/cc/trees/layer_tree.h
|
| index e731d4b1c9d900dddb3c53b791a39a2b4652b629..1220831008a6e6ec7050a9a795ec7be435c8bdcb 100644
|
| --- a/cc/trees/layer_tree.h
|
| +++ b/cc/trees/layer_tree.h
|
| @@ -19,6 +19,7 @@
|
| #include "cc/trees/mutator_host_client.h"
|
| #include "cc/trees/property_tree.h"
|
| #include "third_party/skia/include/core/SkColor.h"
|
| +#include "ui/gfx/color_space.h"
|
| #include "ui/gfx/geometry/size.h"
|
|
|
| namespace base {
|
| @@ -114,6 +115,11 @@ class CC_EXPORT LayerTree : public MutatorHostClient {
|
|
|
| void SetPaintedDeviceScaleFactor(float painted_device_scale_factor);
|
|
|
| + void SetDeviceColorSpace(const gfx::ColorSpace& device_color_space);
|
| + const gfx::ColorSpace& device_color_space() const {
|
| + return inputs_.device_color_space;
|
| + }
|
| +
|
| // Used externally by blink for setting the PropertyTrees when
|
| // |settings_.use_layer_lists| is true. This is a SPV2 setting.
|
| PropertyTrees* property_trees() { return &property_trees_; }
|
| @@ -236,6 +242,7 @@ class CC_EXPORT LayerTree : public MutatorHostClient {
|
| float page_scale_factor;
|
| float min_page_scale_factor;
|
| float max_page_scale_factor;
|
| + gfx::ColorSpace device_color_space;
|
|
|
| SkColor background_color;
|
| bool has_transparent_background;
|
|
|