[Webkit-unassigned] [Bug 45427] [EFL] Add setting api for enabling encoding detector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 13 06:53:34 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=45427


Lucas De Marchi <demarchi at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #67359|commit-queue?               |commit-queue-
               Flag|                            |




--- Comment #8 from Lucas De Marchi <demarchi at webkit.org>  2010-09-13 06:53:34 PST ---
(From update of attachment 67359)
> Index: WebKit/efl/ewk/ewk_view.cpp
> ===================================================================
[...]
> +/**
> + * Sets the encoding detector.
> + *
> + * @param o view object to set if encoding detector is enabled.
> + * @return @c EINA_TRUE on success and @c EINA_FALSE on failure
> + */
> +Eina_Bool ewk_view_setting_encoding_detector_set(Evas_Object* o, Eina_Bool enable)
> +{
> +    EWK_VIEW_SD_GET_OR_RETURN(o, sd, EINA_FALSE);
> +    EWK_VIEW_PRIV_GET_OR_RETURN(sd, priv, EINA_FALSE);
> +    enable = !!enable;
> +    if (priv->settings.local_storage != enable) {
s/local_storage/encoding_detector/

[...]
> +/**
> + * Gets if the encoding detector is enabled.
> + *
> + * @param o view object to set if encoding detector is enabled.
s/set/get

> + * @return @c EINA_TRUE if encoding detector is enabled, @c EINA_FALSE if not.
It returns EINA_FALSE on errors, too.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list