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

Unified Diff: Source/web/WebRuntimeFeatures.cpp

Issue 630903002: Allow enabling "CSSViewport" runtime feature outside Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Export WebRuntimeFeatures::setCSSViewportEnabled() to be called from content::SetRuntimeFeaturesDef… 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 9dbb741e2e496fd5c5b8b52e48bc95fd12669f1a..ffaf6e40925c7fd2240ec8e35993210dac5710cf 100644
--- a/Source/web/WebRuntimeFeatures.cpp
+++ b/Source/web/WebRuntimeFeatures.cpp
@@ -308,4 +308,9 @@ void WebRuntimeFeatures::enableTextBlobs(bool enable)
RuntimeEnabledFeatures::setTextBlobEnabled(enable);
}
+void WebRuntimeFeatures::setCSSViewportEnabled(bool enable)
Noel Gordon 2014/10/15 06:22:32 Naming: should this be called enableCSSViewport(bo
+{
+ RuntimeEnabledFeatures::setCSSViewportEnabled(enable);
+}
+
} // namespace blink
« 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