[Webkit-unassigned] [Bug 43453] [chromium] The chromium API needs a WebMouseEvent class

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 12 14:07:20 PDT 2010


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





--- Comment #7 from Jay Civelli <jcivelli at chromium.org>  2010-08-12 14:07:20 PST ---
I don't think we can do the union, as the WebTouchEvent contains a WebTouchPoint which has a constructor and that I don't think it is OK for a union to have a member which has a non default constructor.
I guess we could make WebTouchPoint a struct with no constructor and make sure it is initialized properly were it is used.

May be going with the inner-class would be easier (although it prevents us from forward declaring the events)?

What do you think?

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