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

Unified Diff: content/renderer/gpu/render_widget_compositor.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/public/common/screen_info.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/render_widget_compositor.h
diff --git a/content/renderer/gpu/render_widget_compositor.h b/content/renderer/gpu/render_widget_compositor.h
index 2bed4bfb9989683bde1321e2ee72855714595301..9edc508b311618c8f23aaff183a6b67b8370568b 100644
--- a/content/renderer/gpu/render_widget_compositor.h
+++ b/content/renderer/gpu/render_widget_compositor.h
@@ -38,6 +38,10 @@ class CompositorMessage;
}
}
+namespace gfx {
+class ColorSpace;
+}
+
namespace ui {
class LatencyInfo;
}
@@ -100,6 +104,7 @@ class CONTENT_EXPORT RenderWidgetCompositor
void SetSurfaceClientId(uint32_t surface_id_namespace);
void OnHandleCompositorProto(const std::vector<uint8_t>& proto);
void SetPaintedDeviceScaleFactor(float device_scale);
+ void SetDeviceColorSpace(const gfx::ColorSpace& color_space);
// WebLayerTreeView implementation.
void setRootLayer(const blink::WebLayer& layer) override;
« no previous file with comments | « content/public/common/screen_info.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698