| Index: cc/surfaces/display.h
|
| diff --git a/cc/surfaces/display.h b/cc/surfaces/display.h
|
| index c9778ddb0590ab6e4aa1673dc56635ff48e0b0b1..513b98ce793c070b927b391af69efa386b94d548 100644
|
| --- a/cc/surfaces/display.h
|
| +++ b/cc/surfaces/display.h
|
| @@ -20,6 +20,7 @@
|
| #include "cc/surfaces/surfaces_export.h"
|
| #include "gpu/command_buffer/common/texture_in_use_response.h"
|
| #include "ui/events/latency_info.h"
|
| +#include "ui/gfx/color_profile.h"
|
|
|
| namespace gpu {
|
| class GpuMemoryBufferManager;
|
| @@ -72,6 +73,7 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient,
|
| // what scale this was rendered at.
|
| void SetSurfaceId(SurfaceId id, float device_scale_factor);
|
| void Resize(const gfx::Size& new_size);
|
| + void SetColorProfile(const gfx::ColorProfile& color_profile);
|
| void SetExternalClip(const gfx::Rect& clip);
|
| void SetOutputIsSecure(bool secure);
|
|
|
| @@ -125,6 +127,7 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient,
|
| uint32_t compositor_surface_namespace_;
|
| gfx::Size current_surface_size_;
|
| float device_scale_factor_ = 1.f;
|
| + gfx::ColorProfile device_color_profile_;
|
| bool swapped_since_resize_ = false;
|
| gfx::Rect external_clip_;
|
| gfx::Size enlarge_texture_amount_;
|
|
|