RESOLVED FIXED 66272
[chromium] DRT: Add support for sending scroll-update events from EventSender
https://bugs.webkit.org/show_bug.cgi?id=66272
Summary [chromium] DRT: Add support for sending scroll-update events from EventSender
Sadrul Habib Chowdhury
Reported 2011-08-15 20:09:23 PDT
Add support for sending scroll-update events from EventSender.
Attachments
patch (13.76 KB, patch)
2011-08-15 20:22 PDT, Sadrul Habib Chowdhury
no flags
patch (14.31 KB, patch)
2011-08-15 20:29 PDT, Sadrul Habib Chowdhury
no flags
patch (14.38 KB, patch)
2011-08-18 16:00 PDT, Sadrul Habib Chowdhury
no flags
Patch (15.20 KB, patch)
2011-10-28 15:27 PDT, Robert Kroeger
no flags
Sadrul Habib Chowdhury
Comment 1 2011-08-15 20:22:19 PDT
Created attachment 103998 [details] patch Please note that the new layout test will pass once https://bugs.webkit.org/show_bug.cgi?id=66267 lands.
WebKit Review Bot
Comment 2 2011-08-15 20:25:12 PDT
Attachment 103998 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/fast..." exit_code: 1 Tools/DumpRenderTree/chromium/EventSender.cpp:1061: A case label should not be indented, but line up with its switch statement. [whitespace/indent] [4] Total errors found: 1 in 12 files If any of these errors are false positives, please file a bug against check-webkit-style.
Sadrul Habib Chowdhury
Comment 3 2011-08-15 20:29:38 PDT
Darin Fisher (:fishd, Google)
Comment 4 2011-08-15 20:52:25 PDT
Comment on attachment 104000 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=104000&action=review > Source/WebKit/chromium/public/WebInputEvent.h:106 > + GestureScrollUpdate, API changes LGTM
Robert Kroeger
Comment 5 2011-08-16 08:34:16 PDT
Comment on attachment 104000 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=104000&action=review LGTM. (But I'm not a reviewer.) > LayoutTests/fast/events/touch/gesture/gesture-scroll-expected.txt:6 > +Gesture manager not implemented on this platform or broken nit: Maybe this should be "Gesture events not implemented..."?
Darin Fisher (:fishd, Google)
Comment 6 2011-08-16 09:53:47 PDT
Just FYI in case... It looks like you aren't looking for an official review on this patch because you have not requested a review by setting the '?' flag.
Sadrul Habib Chowdhury
Comment 7 2011-08-16 10:06:36 PDT
(In reply to comment #6) > Just FYI in case... It looks like you aren't looking for an official review on this patch because you have not requested a review by setting the '?' flag. Indeed. I was hoping to have the first patch to be reviewed first (https://bugs.webkit.org/show_bug.cgi?id=66267) since the layout test added in this patch depends on that.
Sadrul Habib Chowdhury
Comment 8 2011-08-18 16:00:09 PDT
Created attachment 104418 [details] patch Addressed the nit from Rob. The first patch has landed (r93358). So this is ready for review.
Robert Kroeger
Comment 9 2011-10-25 10:41:55 PDT
This change looks good to me. Adam: can you review?
Adam Barth
Comment 10 2011-10-25 10:44:43 PDT
Comment on attachment 104418 [details] patch I see that fishd already approved the API change.
Adam Barth
Comment 11 2011-10-25 10:45:15 PDT
Comment on attachment 104418 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=104418&action=review > Tools/DumpRenderTree/chromium/EventSender.cpp:1077 > + default: > + ASSERT_NOT_REACHED(); One nit: WebKit style is to leave off the default in these cases and have the compiler complain when we forget one.
Robert Kroeger
Comment 12 2011-10-25 10:52:31 PDT
(In reply to comment #11) > (From update of attachment 104418 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=104418&action=review > > > Tools/DumpRenderTree/chromium/EventSender.cpp:1077 > > + default: > > + ASSERT_NOT_REACHED(); > > One nit: WebKit style is to leave off the default in these cases and have the compiler complain when we forget one. I'll fix when I add another PGE subtype to DumpRenderTree
WebKit Review Bot
Comment 13 2011-10-25 12:12:39 PDT
Comment on attachment 104418 [details] patch Rejecting attachment 104418 [details] from commit-queue. New failing tests: fast/events/touch/gesture/gesture-scroll.html Full output: http://queues.webkit.org/results/10212277
Robert Kroeger
Comment 14 2011-10-28 15:27:52 PDT
WebKit Review Bot
Comment 15 2011-10-28 15:30:15 PDT
Please wait for approval from fishd@chromium.org before submitting because this patch contains changes to the Chromium public API.
WebKit Review Bot
Comment 16 2011-10-28 16:44:45 PDT
Comment on attachment 112920 [details] Patch Clearing flags on attachment: 112920 Committed r98782: <http://trac.webkit.org/changeset/98782>
WebKit Review Bot
Comment 17 2011-10-28 16:44:52 PDT
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.