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

Unified Diff: Source/WebKit/chromium/src/WebRuntimeFeatures.cpp

Issue 11519009: Merge 136785 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 years 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 | « Source/WebKit/chromium/public/WebRuntimeFeatures.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
===================================================================
--- Source/WebKit/chromium/src/WebRuntimeFeatures.cpp (revision 137209)
+++ Source/WebKit/chromium/src/WebRuntimeFeatures.cpp (working copy)
@@ -657,4 +657,22 @@
return RuntimeEnabledFeatures::cssExclusionsEnabled();
}
+void WebRuntimeFeatures::enableWebIntents(bool enable)
+{
+#if ENABLE(WEB_INTENTS)
+ RuntimeEnabledFeatures::setWebIntentsEnabled(enable);
+#else
+ UNUSED_PARAM(enable);
+#endif
+}
+
+bool WebRuntimeFeatures::isWebIntentsEnabled()
+{
+#if ENABLE(WEB_INTENTS)
+ return RuntimeEnabledFeatures::webkitStartActivityEnabled();
+#else
+ return false;
+#endif
+}
+
} // namespace WebKit
« no previous file with comments | « Source/WebKit/chromium/public/WebRuntimeFeatures.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698