[Webkit-unassigned] [Bug 60563] [Chromium]Click event is not fired for a menulist <select>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 23 14:48:14 PDT 2011


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





--- Comment #28 from Jay Civelli <jcivelli at chromium.org>  2011-05-23 14:48:14 PST ---
(In reply to comment #26)
> Jay,
> 
> Stil, I'm thinking how to deal with this problem.
> 
> And my current idea is to forward the mouse down event in WebPopupMenuImpl::popupClosed().
> In the function, we can get PopupContainer from m_widget, and get ChromeClientImpl::webView().
> 
> We can get WebViewClient from webView()::client(). Once we can get WebViewClient which derives RenderView, we can forward mouse click events to RenderView.
> 
> The tricky point is to get PopupContainer from m_widget with static_cast. But if we don't change anything in WebCore source code, I guess that is the only way.
> 
> What do you think?

Sorry for the delay.
Wouldn't WebPopupMenuImpl::popupClosed() be called even when the mouse is not involved (popup closed by keyboard action)?
I am looking into it to see if I have other suggestions.

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