summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/API/efl/ewk_settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/UIProcess/API/efl/ewk_settings.cpp')
-rw-r--r--Source/WebKit2/UIProcess/API/efl/ewk_settings.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/Source/WebKit2/UIProcess/API/efl/ewk_settings.cpp b/Source/WebKit2/UIProcess/API/efl/ewk_settings.cpp
index 9055ce7eb..a1f51b8bc 100644
--- a/Source/WebKit2/UIProcess/API/efl/ewk_settings.cpp
+++ b/Source/WebKit2/UIProcess/API/efl/ewk_settings.cpp
@@ -83,3 +83,19 @@ Eina_Bool ewk_settings_loads_images_automatically_get(const Ewk_Settings* settin
return WKPreferencesGetLoadsImagesAutomatically(settings->preferences.get());
}
+
+Eina_Bool ewk_settings_developer_extras_enabled_set(Ewk_Settings* settings, Eina_Bool enable)
+{
+ EINA_SAFETY_ON_NULL_RETURN_VAL(settings, false);
+
+ WKPreferencesSetDeveloperExtrasEnabled(settings->preferences.get(), enable);
+
+ return true;
+}
+
+Eina_Bool ewk_settings_developer_extras_enabled_get(const Ewk_Settings* settings)
+{
+ EINA_SAFETY_ON_NULL_RETURN_VAL(settings, false);
+
+ return WKPreferencesGetDeveloperExtrasEnabled(settings->preferences.get());
+}