| Index: content/public/common/screen_info.h
|
| diff --git a/content/public/common/screen_info.h b/content/public/common/screen_info.h
|
| index ea3a57f673b9f9d393e1f804d6aa3ba55e91dbda..b758fed561b4c0562967ab437ab7a3655ebe1f3f 100644
|
| --- a/content/public/common/screen_info.h
|
| +++ b/content/public/common/screen_info.h
|
| @@ -5,18 +5,27 @@
|
| #ifndef CONTENT_PUBLIC_COMMON_SCREEN_INFO_H_
|
| #define CONTENT_PUBLIC_COMMON_SCREEN_INFO_H_
|
|
|
| +#include "content/common/content_export.h"
|
| #include "content/public/common/screen_orientation_values.h"
|
| #include "ui/gfx/geometry/rect.h"
|
| +#include "ui/gfx/icc_profile.h"
|
|
|
| namespace content {
|
|
|
| // Information about the screen on which a RenderWidget is being displayed. This
|
| // is the content counterpart to WebScreenInfo in blink.
|
| -struct ScreenInfo {
|
| +struct CONTENT_EXPORT ScreenInfo {
|
| + ScreenInfo();
|
| + ScreenInfo(const ScreenInfo& other);
|
| + ~ScreenInfo();
|
| +
|
| // Device scale factor. Specifies the ratio between physical and logical
|
| // pixels.
|
| float device_scale_factor = 1.f;
|
|
|
| + // The ICC profile of the output display.
|
| + gfx::ICCProfile icc_profile;
|
| +
|
| // The screen depth in bits per pixel
|
| uint32_t depth = 0;
|
|
|
|
|