RESOLVED FIXED 69145
[Qt][WK2] Change WebKitTestRunner to use QMouseEvents instead of QGraphicsSceneMouseEvents
https://bugs.webkit.org/show_bug.cgi?id=69145
Summary [Qt][WK2] Change WebKitTestRunner to use QMouseEvents instead of QGraphicsSce...
Zeno Albisser
Reported 2011-09-30 06:53:01 PDT
[Qt][WK2] Change WebKitTestRunner to use QMouseEvents instead of QGraphicsSceneMouseEvents
Attachments
Patch (3.39 KB, patch)
2011-09-30 06:55 PDT, Zeno Albisser
cshu: review-
patch for review. (4.11 KB, patch)
2011-09-30 07:03 PDT, Zeno Albisser
cshu: review-
cshu: commit-queue-
patch for review - updated according to feedback. (4.15 KB, patch)
2011-09-30 07:38 PDT, Zeno Albisser
no flags
Zeno Albisser
Comment 1 2011-09-30 06:55:42 PDT
Zeno Albisser
Comment 2 2011-09-30 06:57:36 PDT
Comment on attachment 109293 [details] Patch it seems i'm not yet really mastering webkit-patch script. - sorry. ;-)
Chang Shu
Comment 3 2011-09-30 07:01:31 PDT
Comment on attachment 109293 [details] Patch How come there's no ChangeLog? :) Can you put some comments there why we should choose mouseevents over graphicsscenemouseevents?
Chang Shu
Comment 4 2011-09-30 07:03:28 PDT
Sorry, I didn't realize you cancelled the review. :)
Zeno Albisser
Comment 5 2011-09-30 07:03:37 PDT
Created attachment 109294 [details] patch for review.
Chang Shu
Comment 6 2011-09-30 07:15:55 PDT
Comment on attachment 109294 [details] patch for review. View in context: https://bugs.webkit.org/attachment.cgi?id=109294&action=review thanks for the change. > Tools/ChangeLog:6 > + This is a follow up to https://bugs.webkit.org/show_bug.cgi?id=69105 i would suggest add more comments for the change. > Tools/WebKitTestRunner/EventSenderProxy.h:54 > + QMouseEvent* createMouseEvent(QEvent::Type, const QPoint& pos, const QPoint& screenPos, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers); We don't need a wrapper function any more. > Tools/WebKitTestRunner/qt/EventSenderProxyQt.cpp:261 > + event = new QMouseEvent(type, pos, button, buttons, modifiers); Simply remove the whole thing and change the calling site.
Zeno Albisser
Comment 7 2011-09-30 07:38:34 PDT
Created attachment 109297 [details] patch for review - updated according to feedback.
WebKit Review Bot
Comment 8 2011-09-30 07:53:08 PDT
Comment on attachment 109297 [details] patch for review - updated according to feedback. Clearing flags on attachment: 109297 Committed r96402: <http://trac.webkit.org/changeset/96402>
WebKit Review Bot
Comment 9 2011-09-30 07:53:13 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.