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

Unified Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 2959873002: color: Add NSScreenColorSpaceDidChangeNotification observer (Closed)
Patch Set: Created 3 years, 6 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
Index: content/browser/renderer_host/render_widget_host_view_base.h
diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h
index 40162d65eff68893c4bd9e6ea4ebbd83c0d08592..0e159d7410802d74f3e139fb2e5d4aed8d4614d4 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.h
+++ b/content/browser/renderer_host/render_widget_host_view_base.h
@@ -467,6 +467,9 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
// The scale factor of the display the renderer is currently on.
float current_device_scale_factor_;
+ // The color space of the display the renderer is currently on.
+ gfx::ColorSpace current_display_color_space_;
+
// The orientation of the display the renderer is currently on.
display::Display::Rotation current_display_rotation_;

Powered by Google App Engine
This is Rietveld 408576698