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

Unified Diff: Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h

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
Index: Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h
===================================================================
--- Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h (revision 137209)
+++ Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h (working copy)
@@ -259,6 +259,13 @@
// The lang attribute support is incomplete and should only be turned on for tests.
static void setLangAttributeAwareFormControlUIEnabled(bool isEnabled) { isLangAttributeAwareFormControlUIEnabled = isEnabled; }
+#if ENABLE(WEB_INTENTS)
+ static bool webkitStartActivityEnabled() { return isWebIntentsEnabled; }
+ static bool webkitIntentEnabled() { return isWebIntentsEnabled; }
+ static bool webKitIntentEnabled() { return isWebIntentsEnabled; }
+ static void setWebIntentsEnabled(bool isEnabled) { isWebIntentsEnabled = isEnabled; }
+#endif
+
private:
// Never instantiate.
RuntimeEnabledFeatures() { }
@@ -359,6 +366,11 @@
#if ENABLE(DIALOG_ELEMENT)
static bool isDialogElementEnabled;
#endif
+
+#if ENABLE(WEB_INTENTS)
+ static bool isWebIntentsEnabled;
+#endif
+
};
} // namespace WebCore
« no previous file with comments | « Source/WebCore/Modules/intents/NavigatorIntents.idl ('k') | Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698