[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 08:01:16 PDT 2010


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





--- Comment #9 from Ryuan Choi <ryuan.choi at samsung.com>  2010-09-13 08:01:16 PST ---
(In reply to comment #8)
> (From update of attachment 67359 [details])
> > 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.

oops, sorry I mistake.

-- 
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