[Webkit-unassigned] [Bug 91832] [EFL][WK2] Implemented color chooser proxy and input picker interface

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 25 04:49:55 PDT 2012


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





--- Comment #12 from KwangYong Choi <ky0.choi at samsung.com>  2012-07-25 04:49:59 PST ---
> Could you explain how to implement color picker by application based on this new APIs ?

There are two ways using input picker interface:

1. Internal implementation

UI implementation in internal webkit will be used by default. The start of implementation location is InputPicker::show().

2. External application implementation

The application can use their own view_add function instead of ewk_view_add(). And it can set the smart class its own using ewk_view_smart_class_set().

Eina_Bool browser_view_smart_class_set(Ewk_View_Smart_Class* api)
{
    if (!ewk_view_smart_class_set(api))
        return false;

    api->input_picker_show = _browser_input_picker_show; // override

    return true;
}

The overrided function will be called when the input picker is required.

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