2010-07-27 Kim Grönholm <kim.1.gronholm@nokia.com>
authorkim.1.gronholm <kim.1.gronholm@nokia.com>
Tue, 27 Jul 2010 09:51:48 +0000 (09:51 +0000)
committerSimon Hausmann <simon.hausmann@nokia.com>
Thu, 29 Jul 2010 15:06:27 +0000 (17:06 +0200)
commit15e28c036805866fcaff7d11d525ebc46b5b6ddd
tree2e51b1c43cffc8e73f813e08762196a7d5152805
parentc4412336e352090f84391e5844c754f7caaaa85f
2010-07-27  Kim Grönholm  <kim.1.gronholm@nokia.com>

        Reviewed by Simon Hausmann.

        [Qt] Decouple QTouchEvent's accepted flag from JS prevent default
        https://bugs.webkit.org/show_bug.cgi?id=42892

        We need to always accept the QTouchEvents in order to get TouchUpdate and
        TouchEnd events. QWebPage::event() return value is used to indicate
        whether the default action was prevented for the touch events.

        * Api/qgraphicswebview.cpp:
        (QGraphicsWebView::sceneEvent):
        * Api/qwebpage.cpp:
        (QWebPagePrivate::touchEvent):
        (QWebPage::event):
        * Api/qwebpage_p.h:
        * Api/qwebview.cpp:
        (QWebView::event):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64118 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/qt/Api/qgraphicswebview.cpp
WebKit/qt/Api/qwebpage.cpp
WebKit/qt/Api/qwebpage_p.h
WebKit/qt/Api/qwebview.cpp
WebKit/qt/ChangeLog