RESOLVED FIXED Bug 34600
[BREWMP] Port PlatformMouseEvent
https://bugs.webkit.org/show_bug.cgi?id=34600
Summary [BREWMP] Port PlatformMouseEvent
Kwang Yul Seo
Reported 2010-02-04 09:41:07 PST
Port PlatformMouseEvent to BREWMP.
Attachments
Patch (4.91 KB, patch)
2010-02-04 09:46 PST, Kwang Yul Seo
no flags
Patch (4.91 KB, patch)
2010-02-04 09:48 PST, Kwang Yul Seo
levin: review-
Patch (4.91 KB, patch)
2010-02-05 20:25 PST, Kwang Yul Seo
no flags
Patch (4.91 KB, patch)
2010-02-05 20:43 PST, Kwang Yul Seo
no flags
Kwang Yul Seo
Comment 1 2010-02-04 09:46:57 PST
Created attachment 48150 [details] Patch Retrieve the event type, position, key modifiers, time stamp and click count from AEEEvent.
Kwang Yul Seo
Comment 2 2010-02-04 09:48:47 PST
Created attachment 48151 [details] Patch Sort header files alphabetically.
WebKit Review Bot
Comment 3 2010-02-04 09:49:15 PST
Attachment 48150 [details] did not pass style-queue: Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1 WebCore/platform/brew/PlatformMouseEventBrew.cpp:30: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 1 If any of these errors are false positives, please file a bug against check-webkit-style.
David Levin
Comment 4 2010-02-05 09:51:59 PST
Comment on attachment 48151 [details] Patch > Index: WebCore/platform/PlatformMouseEvent.h > @@ -55,6 +55,12 @@ class wxMouseEvent; > class BMessage; > #endif > > +#if PLATFORM(BREWMP) > +typedef unsigned short uint16; > +typedef unsigned long int uint32; > +#define AEEEvent uint16 Why doesn't this use a typedef (instead of a define)? > +#if PLATFORM(BREWMP) > + PlatformMouseEvent(AEEEvent event, uint16 wParam, uint32 dwParam); The param name event is not needed here.
Kwang Yul Seo
Comment 5 2010-02-05 20:20:54 PST
(In reply to comment #4) > (From update of attachment 48151 [details]) > > Index: WebCore/platform/PlatformMouseEvent.h > > @@ -55,6 +55,12 @@ class wxMouseEvent; > > class BMessage; > > #endif > > > > +#if PLATFORM(BREWMP) > > +typedef unsigned short uint16; > > +typedef unsigned long int uint32; > > +#define AEEEvent uint16 > > Why doesn't this use a typedef (instead of a define)? Because AEEEvent.h defines AEEEvent to uint16. #define AEEEvent uint16 > > > +#if PLATFORM(BREWMP) > > + PlatformMouseEvent(AEEEvent event, uint16 wParam, uint32 dwParam); > > The param name event is not needed here. Okay.
Kwang Yul Seo
Comment 6 2010-02-05 20:25:22 PST
Created attachment 48280 [details] Patch Remove the param name event from PlatformMouseEvent constructor declaration.
WebKit Review Bot
Comment 7 2010-02-05 20:29:46 PST
Attachment 48280 [details] did not pass style-queue: Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1 WebCore/platform/brew/PlatformMouseEventBrew.cpp:30: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 1 If any of these errors are false positives, please file a bug against check-webkit-style.
Kwang Yul Seo
Comment 8 2010-02-05 20:43:35 PST
Created attachment 48282 [details] Patch Remove style errors.
WebKit Review Bot
Comment 9 2010-02-05 21:50:27 PST
Kwang Yul Seo
Comment 10 2010-02-05 21:52:36 PST
(In reply to comment #9) > Attachment 48282 [details] did not build on chromium: > Build output: http://webkit-commit-queue.appspot.com/results/238598 It seems the chromium build error is unrelated to this patch.
Adam Barth
Comment 11 2010-02-09 09:35:09 PST
Comment on attachment 48282 [details] Patch Sorry about the Chromium build error. The bot was having some trouble. I'm not an expert on platform mouse events, but this patch looks reasonable to me.
WebKit Commit Bot
Comment 12 2010-02-09 19:45:26 PST
Comment on attachment 48282 [details] Patch Clearing flags on attachment: 48282 Committed r54583: <http://trac.webkit.org/changeset/54583>
WebKit Commit Bot
Comment 13 2010-02-09 19:45:35 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.