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..eff088ece5ccd253f7e65c02460178f78f7e5ca4 100644 |
--- a/content/public/common/screen_info.h |
+++ b/content/public/common/screen_info.h |
@@ -5,14 +5,20 @@ |
#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; |
@@ -27,6 +33,9 @@ struct ScreenInfo { |
// This can be true for black and white printers |
bool is_monochrome = false; |
+ // The ICC profile of the output display. |
+ gfx::ICCProfile icc_profile; |
+ |
// The display monitor rectangle in virtual-screen coordinates. Note that |
// this may be negative. |
gfx::Rect rect; |