[Webkit-unassigned] [Bug 119030] Move platform-specific implementation of the color picker

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 25 00:12:12 PDT 2013


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


Ryuan Choi <ryuan.choi at samsung.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ryuan.choi at samsung.com




--- Comment #6 from Ryuan Choi <ryuan.choi at samsung.com>  2013-07-25 00:12:01 PST ---
(In reply to comment #5)
> (In reply to comment #3)
> > (From update of attachment 207425 [details] [details])
> > Adding the new file to xcodeproj is not right - I think that it would need be added to Source/WebKit2/PlatformEfl.cmake if we agreed that it's platform specific.
> > 
> > But I don't think that the code is platform specific. It just does things in a way that's either different or plain incorrect. In the former case, we should some up with a better way to describe and conditionalize it. In the latter way, it should be replaced with correct code (this is WebKit2).
> 
> The current implementation assumes that only one <input type='color'> is on a page, which is not a sustainable model (look at WebPageProxy::showColorChooser. This assumes that m_colorPicker is null when it's called. 
> 
> However, showColorChooser is called whenever an <input type='color'> object is activated (in ColorInputType::handleDOMActivateEvent). If there are two <input type='color'> elements and one is first clicked on and then the second, then showColorChooser will be called for the second, but m_colorPicker will not be null.
> 
> This should be changed to be able to handle multiple <input type='color'> elements, and another patch is tracking that (bug 61276).
> 
> Also, it's unnecessary to use the WebColorPickerResultListenerProxy object and m_uiClient. Once m_colorPicker is created and set properly, it should be able to handle receiving user input of color selection and communicating back down to the WebPageProxy level (see the proposed patch for bug 61276).

If current logic is bad (I think so), probably I can refactor EFL side like bug 61276 within 1~2 days.

Anyway, "Samsung" in folder/file name looks not good to me. :)
Samsung is not a platform.

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