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

Unified Diff: Source/web/WebSettingsImpl.cpp

Issue 23187005: [DevTools] Use device metrics emulation implemented in content. (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Reupload Created 7 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
Index: Source/web/WebSettingsImpl.cpp
diff --git a/Source/web/WebSettingsImpl.cpp b/Source/web/WebSettingsImpl.cpp
index b4ef0f9eefdedfe2c1308dadf20c44b45817fce7..d4e1030bcfede0aa51506b64002d4660c896142d 100644
--- a/Source/web/WebSettingsImpl.cpp
+++ b/Source/web/WebSettingsImpl.cpp
@@ -405,6 +405,11 @@ void WebSettingsImpl::setRenderVSyncNotificationEnabled(bool enabled)
m_renderVSyncNotificationEnabled = enabled;
}
+void WebSettingsImpl::setRootLayerClipsContent(bool enabled)
+{
+ m_settings->setRootLayerClipsContent(enabled);
+}
+
void WebSettingsImpl::setWebGLErrorsToConsoleEnabled(bool enabled)
{
m_settings->setWebGLErrorsToConsoleEnabled(enabled);

Powered by Google App Engine
This is Rietveld 408576698