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

Unified Diff: content/renderer/render_widget.h

Issue 316913002: Plumb testRunner dynamic color profile test support into RenderWidget (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index 8ed0c4029a8f44acdf8cd6004cbf9256c683cac5..74aaaf82c51ceb061717d4a5fdfa355398ab57b8 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -398,6 +398,7 @@ class CONTENT_EXPORT RenderWidget
void AutoResizeCompositor();
virtual void SetDeviceScaleFactor(float device_scale_factor);
+ virtual bool SetDeviceColorProfile(const std::vector<char>& color_profile);
virtual void OnOrientationChange();
@@ -662,6 +663,9 @@ class CONTENT_EXPORT RenderWidget
// |screen_info_| on some platforms, and defaults to 1 on other platforms.
float device_scale_factor_;
+ // The device color profile on supported platforms.
+ std::vector<char> device_color_profile_;
+
// State associated with synthetic gestures. Synthetic gestures are processed
// in-order, so a queue is sufficient to identify the correct state for a
// completed gesture.
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698