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

Unified Diff: content/renderer/renderer_webkitplatformsupport_impl.cc

Issue 10448110: Adds monitor ICC profile support for win and mac (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix android build Created 8 years, 5 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/renderer/renderer_webkitplatformsupport_impl.cc
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.cc b/content/renderer/renderer_webkitplatformsupport_impl.cc
index b44f64037c76a89635081e196da57289511aaf4f..5d9b262dfbd4bd6bb8b2b58485900bedd6d0fa90 100644
--- a/content/renderer/renderer_webkitplatformsupport_impl.cc
+++ b/content/renderer/renderer_webkitplatformsupport_impl.cc
@@ -658,6 +658,16 @@ RendererWebKitPlatformSupportImpl::signedPublicKeyAndChallengeString(
//------------------------------------------------------------------------------
+void RendererWebKitPlatformSupportImpl::screenColorProfile(
+ WebVector<char>* to_profile) {
+ std::vector<char> profile;
+ RenderThreadImpl::current()->Send(
+ new ViewHostMsg_GetMonitorColorProfile(&profile));
+ *to_profile = profile;
+}
+
+//------------------------------------------------------------------------------
+
WebBlobRegistry* RendererWebKitPlatformSupportImpl::blobRegistry() {
// ChildThread::current can be NULL when running some tests.
if (!blob_registry_.get() && ChildThread::current()) {

Powered by Google App Engine
This is Rietveld 408576698