2 * Copyright (C) 2013-2016 Samsung Electronics. All rights reserved.
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
13 * THIS SOFTWARE IS PROVIDED BY SAMSUNG ELECTRONICS. AND ITS CONTRIBUTORS
14 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
15 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SAMSUNG ELECTRONICS. OR ITS
17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
20 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
21 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
22 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
23 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 * @file ewk_settings_product.h
28 * @brief Describes the settings API.
30 * @note The ewk_settings is for setting the preference of specific ewk_view.
31 * We can get the ewk_settings from ewk_view using ewk_view_settings_get() API.
34 #ifndef ewk_settings_product_h
35 #define ewk_settings_product_h
37 #include "ewk_settings_internal.h"
44 * Requests setting of force zoom.
46 * @param settings settings object to enable force zoom
47 * @param enable to force zoom
49 * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
51 EXPORT_API Eina_Bool ewk_settings_force_zoom_set(Ewk_Settings *settings, Eina_Bool enable);
54 * Returns the force zoom status.
56 * @param settings settings object to enable force zoom
58 * @return @c EINA_TRUE if enable force zoom or @c EINA_FALSE.
60 EXPORT_API Eina_Bool ewk_settings_force_zoom_get(const Ewk_Settings *settings);
63 * Requests to set the default font size.
65 * @param settings settings object to set the default font size
66 * @param size a new default font size to set
68 * @return @c EINA_TRUE on success @c EINA_FALSE otherwise
70 EXPORT_API Eina_Bool ewk_settings_font_default_size_set(Ewk_Settings *settings, int size);
73 * Returns the default font size.
75 * @param settings settings object to set the default font size
77 * @return @c default font size.
79 EXPORT_API int ewk_settings_font_default_size_get(const Ewk_Settings *settings);
82 * Requests enables/disables if the scripts can open the new windows.
84 * @param settings settings object to set if the scripts can open the new windows
85 * @param allow @c EINA_TRUE if the scripts can open the new windows
86 * @c EINA_FALSE if not
88 * @return @c EINA_TRUE on success or @c EINA_FALSE on failure (scripts are disabled)
90 EXPORT_API Eina_Bool ewk_settings_scripts_window_open_set(Ewk_Settings *settings, Eina_Bool allow);
93 * Returns enables/disables if the scripts can open the new windows.
95 * @param settings settings object to set if the scripts can open the new windows
97 * @return @c EINA_TRUE on success or @c EINA_FALSE on failure (scripts are disabled)
99 EXPORT_API Eina_Bool ewk_settings_scripts_window_open_get(const Ewk_Settings *settings);
102 * Returns default text encoding name.
104 * @param settings settings object to query default text encoding nae
106 * @return default text encoding name
108 EXPORT_API const char* ewk_settings_default_encoding_get(const Ewk_Settings *settings);
111 * Requests to set default text encoding name.
113 * @param settings settings object to set default text encoding name
114 * @param encoding default text encoding name
116 * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
118 EXPORT_API Eina_Bool ewk_settings_default_encoding_set(Ewk_Settings *settings, const char* encoding);
121 * Requests to set editable link behavior.
123 * @param settings settings object to set editable link behavior
124 * @param behavior editable link behaviro
126 * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
128 EXPORT_API Eina_Bool ewk_settings_editable_link_behavior_set(Ewk_Settings *settings, Ewk_Editable_Link_Behavior behavior);
131 * Requests to set the load remote images enable/disable
133 * @param settings settings object to set load remote images
135 * @param loadRemoteImages @c EINA_TRUE to enable the load remote images
136 * @c EINA_FALSE to disable
138 * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
140 EXPORT_API Eina_Bool ewk_settings_load_remote_images_set(Ewk_Settings *settings, Eina_Bool loadRemoteImages);
143 * Returns enable/disable the load remote images
145 * @param settings settings object to get editable link behavior
147 * @return @c EINA_TRUE on enable or @c EINA_FALSE on disable
149 EXPORT_API Eina_Bool ewk_settings_load_remote_images_get(const Ewk_Settings *settings);
152 * Returns uses encoding detector.
154 * @deprecated Deprecated since Tizen 3.0.
156 * @param settings settings object to query uses encoding detector
158 * @see ewk_settings_encoding_detector_enabled_get
160 * @return uses encoding detector
162 EINA_DEPRECATED EXPORT_API Eina_Bool ewk_settings_uses_encoding_detector_get(const Ewk_Settings *settings);
165 * Returns if password form autofill is enabled or disabled.
167 * @param setting setting object to get password form autofill
169 * @return @c EINA_TRUE if password form autofill is enabled
170 * @c EINA_FALSE if password form autofill is disabled
172 EXPORT_API Eina_Bool ewk_settings_autofill_password_form_enabled_get(Ewk_Settings* settings);
175 * Returns if form candidate data for autofill is enabled or disabled.
177 * @param setting setting object to get form candidate data for autofill
179 * @return @c EINA_TRUE if form candidate data for autofill is enabled
180 * @c EINA_FALSE if form candidate data for autofill is disabled
182 EXPORT_API Eina_Bool ewk_settings_form_candidate_data_enabled_get(Ewk_Settings* settings);
185 * Returns whether the autofill_text feature is enabled.
187 * @param settings settings object to query whether autofill_text feature is enabled
189 * @return @c EINA_TRUE if the autofill_text feature is enabled
190 * @c EINA_FALSE if not or on failure
192 EXPORT_API Eina_Bool ewk_settings_form_profile_data_enabled_get(const Ewk_Settings *settings);
195 * Returns whether text selection is cleared when webview lose focus or not.
197 * @param settings setting object to get whether text selection is cleared when webview lose focus or not
199 * @return @c EINA_TRUE if text selection is cleared when webview lose focus
200 * @c EINA_FALSE if not or on failure
202 EXPORT_API Eina_Bool ewk_settings_clear_text_selection_automatically_get(const Ewk_Settings* settings);
205 * Requests for drawing layer borders.
207 * @param settings settings object to drawing layer borders.
208 * @param enable EINA_TRUE to draw layer borders.
210 * @return @c EINA_TRUE on successful request or @c EINA_FALSE on failure
213 EXPORT_API Eina_Bool ewk_settings_compositing_borders_visible_set(Ewk_Settings *settings, Eina_Bool enable);
216 * Requests to set the scan malware enable/disable.
218 * @param settings settings object to set scan malware
220 * @param scan_malware_enabled @c EINA_TRUE to enable the scan malware
221 * @c EINA_FALSE to disable
223 * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
225 EXPORT_API Eina_Bool ewk_settings_scan_malware_enabled_set(Ewk_Settings *settings, Eina_Bool scan_malware_enabled);
228 * @brief Returns enable/disable scan malware.
232 * @param[in] settings settings object to get malware scan behavior
234 * @return @c EINA_TRUE on enable or @c EINA_FALSE on disable
236 EXPORT_API Eina_Bool ewk_settings_scan_malware_enabled_get(const Ewk_Settings* settings);
239 * Requests to enable/disable spdy.
241 * @param settings param not needed, only present for API compatibility
243 * @param spdy_enabled @c EINA_TRUE to enable the spdy @c EINA_FALSE to disable
245 * @return always @c EINA_TRUE, only present for API compatibility
247 EXPORT_API Eina_Bool ewk_settings_spdy_enabled_set(Ewk_Settings *settings, Eina_Bool spdy_enabled);
250 * Get spdy enabled/disabled state.
252 * @param settings param not needed, only present for API compatibility
254 * @return @c EINA_TRUE if enabled or @c EINA_FALSE if disabled
256 EXPORT_API Eina_Bool ewk_settings_spdy_enabled_get(Ewk_Settings *settings);
259 * Requests to set the performance features of soup enable/disable.
261 * @param settings settings object to set performance features on soup
263 * @param spdy_enabled @c EINA_TRUE to enable the performance features on soup
264 * @c EINA_FALSE to disable
266 * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
268 EXPORT_API Eina_Bool ewk_settings_performance_features_enabled_set(Ewk_Settings *settings, Eina_Bool performance_features_enabled);
271 * @brief Returns enable/disable performance features on soup.
275 * @param[in] settings settings object to get performance features
277 * @return @c EINA_TRUE on enable or @c EINA_FALSE on disable
279 EXPORT_API Eina_Bool ewk_settings_performance_features_enabled_get(const Ewk_Settings* settings);
282 * Requests to set using encoding detector.
284 * @deprecated Deprecated since Tizen 3.0.
286 * @param settings settings object to set using encoding detector
287 * @param use use encoding detector
289 * @see ewk_settings_encoding_detector_enabled_set
291 EINA_DEPRECATED EXPORT_API Eina_Bool ewk_settings_uses_encoding_detector_set(Ewk_Settings *settings, Eina_Bool use);
294 * Enables/disables the encoding detector.
296 * By default, the encoding detector is disabled.
298 * @param settings settings object to set the encoding detector
299 * @param enable @c EINA_TRUE to enable the encoding detector,
300 * @c EINA_FALSE to disable
304 * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
306 EXPORT_API Eina_Bool ewk_settings_encoding_detector_enabled_set(Ewk_Settings* settings, Eina_Bool enable);
309 * Queries whether the encoding detector is enabled or not.
313 * @param settings settings object to query using encoding detector
315 * @return @c EINA_TRUE if encoding detecor is enabled
316 * @c EINA_FALSE otherwise
318 EXPORT_API Eina_Bool ewk_settings_encoding_detector_enabled_get(const Ewk_Settings* settings);
322 * Set to load https sub resource when it has certificate error.
324 * @param settings settings object to enable/disable load sub resource
325 * @param enabled a state to set
327 * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
329 EXPORT_API Eina_Bool ewk_settings_load_sub_resource_with_certificate_error_set(Ewk_Settings* settings, Eina_Bool enabled);
332 * Set to add http head DNT(do not track).
334 * @param settings settings object to enable/disable set DNT in http head.
335 * @param enabled a state to set
337 * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
339 EXPORT_API Eina_Bool ewk_settings_do_not_track_set(Ewk_Settings* settings, Eina_Bool enabled);
342 *@brief Set to allow running mixed contents or not.
346 * @param[in] settings The settings object to set mixed contents reply
347 * @param[in] allow If @c EINA_TRUE allow to run mixed contents\n
348 * otherwise @c EINA_FALSE to not allow running mixed contents
349 * @return @c EINA_TRUE on success,\n
350 * otherwise @c EINA_FALSE on failure
353 ewk_settings_mixed_contents_set(const Ewk_Settings* settings, Eina_Bool allow);
356 * @deprecated Deprecated since Tizen 3.0.
358 * Enable/disable cache builder extension mode.
360 * By default, the cache builder extension is disabled.
361 * Notify node position to client when focused node is change.
362 * Can find focusable node from last known mouse position.
363 * Support fast scroll when long pressing the direction key.
365 * @param settings settings object
366 * @param enabled @c EINA_TRUE to enable the cache builder extension
367 * @c EINA_FALSE to disable
369 EINA_DEPRECATED EXPORT_API void ewk_settings_cache_builder_extension_enabled_set(Ewk_Settings *settings, Eina_Bool enabled);
372 * @deprecated Deprecated since Tizen 3.0.
374 * Enable/disable focus ring.
376 * @note Focus ring is enabled by default but disabled for wrt on TV profile
378 * @param settings settings object
379 * @param enabled @c EINA_TRUE to enable the focus ring
380 * @c EINA_FALSE to disable
382 EINA_DEPRECATED EXPORT_API void ewk_settings_focus_ring_enabled_set(Ewk_Settings *settings, Eina_Bool enabled);
385 * Enables/disables the viewport meta tag.
387 * By default, the viewport meta tag is enabled on mobile and wearable,
388 * but it is disabled on TV.
390 * @param settings settings object
391 * @param enable @c EINA_TRUE to enable the viewport meta tag
392 * @c EINA_FALSE to disable
394 * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
396 EXPORT_API Eina_Bool ewk_settings_viewport_meta_tag_set(Ewk_Settings *settings, Eina_Bool enable);
399 * Allow/disallow to run and display mixed contents.
401 * By default, WebCore don't allow run and display mixed contents.
402 * Some Apps want to allow them by default
404 * @param settings settings object
405 * @param enable @c EINA_TRUE to allow run and display mixed contents
406 * @c EINA_FALSE to disable
409 EXPORT_API void ewk_settings_default_mixed_contents_policy_set(Ewk_Settings* settings, Eina_Bool enable);
412 * Enable/disable the WebGL feature.
414 * By default, the WebGL feature is Enabled.
415 * Some Apps want to disallow WebGL feature.
417 * @note Should be used before ewk_view_url_set().
419 * @param settings settings object
420 * @param disable @c EINA_TRUE to disable WebGL.
421 * @c EINA_FALSE to enable.
424 EXPORT_API void ewk_settings_disable_webgl_set(Ewk_Settings* settings, Eina_Bool disable);
427 * Returns whether the viewport meta tag is enabled.
429 * @param settings settings object
431 * @return @c EINA_TRUE if the viewport meta tag is enabled
432 * @c EINA_FALSE if not or on failure
434 EXPORT_API Eina_Bool ewk_settings_viewport_meta_tag_get(const Ewk_Settings *settings);
437 * Enables/disables web security.
439 * By default, the web security is enabled.
441 * @param settings settings object to set the web security
442 * @param enable @c EINA_TRUE to enable the web security
443 * @c EINA_FALSE to disable
445 * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
447 * @see ewk_settings_web_security_enabled_get()
449 EXPORT_API Eina_Bool ewk_settings_web_security_enabled_set(Ewk_Settings *settings, Eina_Bool enable);
452 * Returns whether the web security is enabled.
454 * @param settings settings object to query whether web security is enabled
456 * @return @c EINA_TRUE if the web security is enabled
457 * @c EINA_FALSE if not or on failure
459 EXPORT_API Eina_Bool ewk_settings_web_security_enabled_get(const Ewk_Settings *settings);
462 * Set to uses the arrow scroll.
464 * @param settings settings object
465 * @param enabled a state to set
467 * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
469 EXPORT_API Eina_Bool ewk_settings_uses_arrow_scroll_set(Ewk_Settings* settings, Eina_Bool enabled);
472 * Returns whether uses arrow scroll is enabled or not.
474 * @param settings settings object
476 * @return @c EINA_TRUE if uses arrow is enabled, @c EINA_FALSE otherwise
478 EXPORT_API Eina_Bool ewk_settings_uses_arrow_scroll_get(Ewk_Settings* settings);
481 * Set to uses scrollbar thumb focus notifications.
483 * @param settings settings object
484 * @param enabled a state to set
486 EXPORT_API Eina_Bool ewk_settings_uses_scrollbar_thumb_focus_notifications_set(
487 Ewk_Settings* settings,
491 * Allow/Disallow file access from external url
493 * By default, file access from external url is disallowed
495 * This is only for TV Product
497 * @param settings settings object to allow file access from external url
498 * @param enable @c EINA_TRUE to allow file access from external url
499 * @c EINA_FALSE to disallow
501 * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
503 * @see ewk_settings_allow_file_access_from_external_url_get()
506 ewk_settings_allow_file_access_from_external_url_set(Ewk_Settings* settings,
510 * Set to support the media playback notification.
512 * This is only for TV Product
514 * @param settings settings object
515 * @param enabled a state to set
518 EXPORT_API void ewk_settings_media_playback_notification_set(Ewk_Settings* settings, Eina_Bool enabled);
521 * Returns enable/disable the media playback notification.
523 * This is only for TV Product
525 * @param settings settings object
527 * @return @c EINA_TRUE if media plyaback notification is enabled, @c EINA_FALSE otherwise
529 EXPORT_API Eina_Bool ewk_settings_media_playback_notification_get(const Ewk_Settings* settings);
532 * Set to support the subtitle notification.
534 * @param settings settings object
535 * @param enabled a state to set
538 EXPORT_API void ewk_settings_media_subtitle_notification_set(Ewk_Settings *settings, Eina_Bool enabled);
541 * Returns enable/disable the subtitle notification.
543 * @param settings settings object
545 * @return @c EINA_TRUE if subtitle notification is enabled, @c EINA_FALSE
548 EXPORT_API Eina_Bool ewk_settings_media_subtitle_notification_get(const Ewk_Settings *settings);
551 * Returns whether file access from external url is enabled
553 * This is only for TV Product
555 * @param settings settings object to query whether file access from external
558 * @return @c EINA_TRUE if file access from external url is allow
559 * @c EINA_FALSE if not or on failure
561 EXPORT_API Eina_Bool ewk_settings_allow_file_access_from_external_url_get(
562 const Ewk_Settings* settings);
565 * @brief Requests to enable/disable private browsing.
567 * @details This setting change affects all webview with same context.
571 * @param[in] settings The settings object to set private browsing
572 * @param[in] enable If @c EINA_TRUE private browsing is enabled\n
573 * otherwise @c EINA_FALSE to disable it
575 * @return @c EINA_TRUE on success,\n
576 * otherwise @c EINA_FALSE on failure
578 EXPORT_API Eina_Bool ewk_settings_private_browsing_enabled_set(Ewk_Settings* settings, Eina_Bool enable);
581 * @brief Enables/disables private browsing.
585 * @param[in] settings The settings object to query if private browsing is
588 * @return @c EINA_TRUE if private browsing is enabled,\n
589 * otherwise @c EINA_FALSE if not or on failure
591 EXPORT_API Eina_Bool ewk_settings_private_browsing_enabled_get(const Ewk_Settings* settings);
594 * Requests enables/disables to the specific extra feature
596 * @param settings setting object to enable/disable the specific extra feature
597 * @param feature feature name
598 * @param enable @c EINA_TRUE to enable the specific extra feature
599 * @c EINA_FALSE to disable
601 * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
603 EXPORT_API void ewk_settings_extra_feature_set(Ewk_Settings* settings, const char* feature, Eina_Bool enable);
606 * Returns enable/disable to the specific extra feature
608 * @param settings settings object to get whether the specific extra feature is enabled or not.
609 * @param feature feature name
611 * @return @c EINA_TRUE on enable or @c EINA_FALSE on disable
613 EXPORT_API Eina_Bool ewk_settings_extra_feature_get(const Ewk_Settings* settings, const char* feature);
616 * Enables/disables text autosizing.
618 * By default, the text autosizing is disabled.
620 * @param settings settings object to set the text autosizing
621 * @param enable @c EINA_TRUE to enable the text autosizing
622 * @c EINA_FALSE to disable
624 * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
626 * @see ewk_settings_text_autosizing_enabled_get()
628 EXPORT_API Eina_Bool ewk_settings_text_autosizing_enabled_set(Ewk_Settings *settings, Eina_Bool enable);
631 * Returns whether the text autosizing is enabled.
633 * The text autosizing is a feature which adjusts the font size of text in wide
634 * columns, and makes text more legible.
636 * @param settings settings object to query whether text autosizing is enabled
638 * @return @c EINA_TRUE if the text autosizing is enabled
639 * @c EINA_FALSE if not or on failure
641 EXPORT_API Eina_Bool ewk_settings_text_autosizing_enabled_get(const Ewk_Settings *settings);
644 * Sets the scale factor for text autosizing.
646 * Default value is 1.0.
648 * @param settings settings object to set the text autosizing
649 * @param factor font scale factor for text autosizing
651 EXPORT_API Eina_Bool ewk_settings_text_autosizing_font_scale_factor_set(Ewk_Settings *settings, double factor);
654 * Gets the current scale factor for text autosizing.
656 * @param settings settings object to set scale factor for text autosizing
658 * @return the current font scale factor for text autosizing.
659 * In case of error, it returns non-positive value.
661 EXPORT_API double ewk_settings_text_autosizing_font_scale_factor_get(const Ewk_Settings *settings);
664 * @brief Sets the scale factor for text autosizing.
666 * @details Default value is 1.0.
668 * @param settings settings object to set the text autosizing
669 * @param factor font scale factor for text autosizing
671 * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
673 EXPORT_API Eina_Bool ewk_settings_text_autosizing_scale_factor_set(Ewk_Settings* settings, double factor);
676 * @brief Gets the current scale factor for text autosizing.
678 * @param settings settings object to set scale factor for text autosizing
680 * @return the current font scale factor for text autosizing
682 EXPORT_API double ewk_settings_text_autosizing_scale_factor_get(const Ewk_Settings* settings);
685 * Sets text style for selection mode enabled.
687 * @param settings settings object
688 * @param enabled text style for selection mode
691 EXPORT_API void ewk_settings_text_style_state_enabled_set(Ewk_Settings *settings, Eina_Bool enabled);
694 * Gets text style for selection mode enabled.
696 * @param settings settings object
698 * @return @c EINA_TRUE if text style for selection mode enabled, @c EINA_FALSE otherwise
700 EXPORT_API Eina_Bool ewk_settings_text_style_state_enabled_get(const Ewk_Settings *settings);
703 * @brief Enables/disables legacy font size mode
705 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
707 * @param[in] settings settings object
708 * @param[in] enable If @c EINA_TRUE legacy font size is enabled\n
709 * otherwise @c EINA_FALSE to disable it
711 * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
713 EXPORT_API Eina_Bool ewk_settings_legacy_font_size_enabled_set(Ewk_Settings* settings, Eina_Bool enabled);
716 * @brief Return whether legacy font size mode is enabled
718 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
720 * @param[in] settings settings object
722 * @return @c EINA_TRUE if Ewk_Legacy_Font_Size_Mode set to legacy font size mode
723 * @c EINA_FALSE if Ewk_Legacy_Font_Size_Mode not set to legacy font size mode
725 EXPORT_API Eina_Bool ewk_settings_legacy_font_size_enabled_get(Ewk_Settings* settings);
728 * @brief Sets font-family as system font for font rendering
730 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
732 * @param[in] settings settings object
733 * @param[in] use @c EINA_TRUE to use one of the system fonts which is selected by user in Settings
734 * @c EINA_FALSE to use a system default font
736 * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
738 EXPORT_API Eina_Bool ewk_settings_use_system_font_set(Ewk_Settings* settings, Eina_Bool use);
741 * @brief Returns whether we use the system font which is selected by user in Settings or use a system default font
743 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
745 * @param[in] settings settings object
747 * @return @c EINA_TRUE if we use the sysem font which is selected by user in Settings
748 * @c EINA_FALSE if we use a system default font or on failure
750 EXPORT_API Eina_Bool ewk_settings_use_system_font_get(Ewk_Settings* settings);
753 * @brief Requests enables/disables to control text selection handles from app
757 * @param[in] settings setting object to set to control text selection handles from app
758 * @param[in] enable @c EINA_TRUE to control text selection handles from app\n
759 * @c EINA_FALSE to disable
761 * @return @c EINA_TRUE on success or @c EINA_FALSE on failure
763 EXPORT_API void ewk_settings_selection_handle_enabled_set(Ewk_Settings* settings, Eina_Bool enable);
766 * @brief Returns whether text selection handles are controlled from app or not
770 * @param[in] settings setting object to get whether text selection handles are controlled from app
773 * @return @c EINA_TRUE if text selection handles are controlled from app\n
774 * @c EINA_FALSE if not or on failure
776 EXPORT_API Eina_Bool ewk_settings_selection_handle_enabled_get(const Ewk_Settings* settings);
779 * @brief disclose Set-Cookie headers over IPC.
780 * Some apps which get cookie through xhr.getAllResponseHeaders interface
781 * Currently blink don't disclose response header with Set-Cookie field
786 * @param[in] settings setting object
787 * @param[in] Enabled true means app allow to disclose "Set-Cookie"
790 EXPORT_API void ewk_settings_disclose_set_cookie_headers_enabled(Ewk_Settings* settings, Eina_Bool Enabled);
793 * @brief Request to set the spatial navigation usage set by hbbtv
797 * @param[in] settings setting object
798 * @param[in] enable @c EINA_TRUE enable to use spatial navigation
799 * @c EINA_FALSE to disable
801 EXPORT_API void ewk_settings_spatial_navigation_enabled_set(Ewk_Settings* settings, Eina_Bool Enabled);
806 #endif // ewk_settings_product_h