diff options
Diffstat (limited to 'Source/WebKit/chromium/src/WebRuntimeFeatures.cpp')
-rw-r--r-- | Source/WebKit/chromium/src/WebRuntimeFeatures.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp index 4e64c664b..9009ff9fa 100644 --- a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp +++ b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp @@ -657,4 +657,22 @@ bool WebRuntimeFeatures::isCSSExclusionsEnabled() return RuntimeEnabledFeatures::cssExclusionsEnabled(); } +void WebRuntimeFeatures::enableRequestAutocomplete(bool enable) +{ +#if ENABLE(REQUEST_AUTOCOMPLETE) + RuntimeEnabledFeatures::setRequestAutocompleteEnabled(enable); +#else + UNUSED_PARAM(enable); +#endif +} + +bool WebRuntimeFeatures::isRequestAutocompleteEnabled() +{ +#if ENABLE(REQUEST_AUTOCOMPLETE) + return RuntimeEnabledFeatures::requestAutocompleteEnabled(); +#else + return false; +#endif +} + } // namespace WebKit |