Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(597)

Unified Diff: content/public/common/screen_info.h

Issue 2325773003: cc: Plumb the monitor color profile to renderer for rasterization (Closed)
Patch Set: Unrevert Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/common/screen_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/common/screen_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698