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

Unified Diff: Source/web/WebRuntimeFeatures.cpp

Issue 662003002: Add WebRuntimeFeatures::enableCSSViewport() feature (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git/+/master
Patch Set: Rebased Created 6 years, 2 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 | « no previous file | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebRuntimeFeatures.cpp
diff --git a/Source/web/WebRuntimeFeatures.cpp b/Source/web/WebRuntimeFeatures.cpp
index 5e6af567f60ec740146ee250b11218ee88dc2fc7..cc9d3c779f85fe137ca37b00bacf7faf651fc898 100644
--- a/Source/web/WebRuntimeFeatures.cpp
+++ b/Source/web/WebRuntimeFeatures.cpp
@@ -299,6 +299,11 @@ void WebRuntimeFeatures::setCSSViewportEnabled(bool enable)
RuntimeEnabledFeatures::setCSSViewportEnabled(enable);
}
+void WebRuntimeFeatures::enableCSSViewport(bool enable)
+{
+ RuntimeEnabledFeatures::setCSSViewportEnabled(enable);
+}
+
void WebRuntimeFeatures::enableV8IdleTasks(bool enable)
{
RuntimeEnabledFeatures::setV8IdleTasksEnabled(enable);
« no previous file with comments | « no previous file | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698