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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 261633002: Add RenderView / Widget setDeviceColorProfile interface to Page (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merge to tip. Created 6 years, 7 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: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index a070e5041f681efab4e87a51916b0604875b92c4..a8272c95b7f7de2c04050036551078c3a6a195f2 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -2833,6 +2833,14 @@ void WebViewImpl::setDeviceScaleFactor(float scaleFactor)
updateLayerTreeDeviceScaleFactor();
}
+void WebViewImpl::deviceColorProfileChanged(const char* profile, size_t size)
+{
+ if (!page())
+ return;
+
+ page()->deviceColorProfileChanged(profile, size);
+}
+
void WebViewImpl::enableAutoResizeMode(const WebSize& minSize, const WebSize& maxSize)
{
m_shouldAutoResize = true;
« no previous file with comments | « Source/web/WebViewImpl.h ('k') | public/web/WebView.h » ('j') | public/web/WebView.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698