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

Unified Diff: Source/web/WebSettingsImpl.cpp

Issue 24272003: [DevTools] Blink-side APIs for device metrics emulation in content. (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Comments 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..e33c9fc897fc36a3ae595ffe4200936abe26552c 100644
--- a/Source/web/WebSettingsImpl.cpp
+++ b/Source/web/WebSettingsImpl.cpp
@@ -322,6 +322,11 @@ void WebSettingsImpl::setLocalStorageEnabled(bool enabled)
m_settings->setLocalStorageEnabled(enabled);
}
+void WebSettingsImpl::setMainFrameClipsContent(bool enabled)
+{
+ m_settings->setMainFrameClipsContent(enabled);
+}
+
void WebSettingsImpl::setEditableLinkBehaviorNeverLive()
{
// FIXME: If you ever need more behaviors than this, then we should probably

Powered by Google App Engine
This is Rietveld 408576698