History log of /external/webkit/WebCore/page/EventHandler.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7f034a1734d634dd1fdb3b64817d5828b5e46922 06-May-2010 Ben Murdoch <benm@google.com> Fix a ref counting bug in touch event handling. The RefPtr returned from m_originatingTouchPointTargets.take() was only in scope
for the duration of the else block but we saved the raw pointer it wrapped. When the else block ended, the RefPtr destroyed itself, also
deleting it's enclosed pointer if it held the final ref. But we had a saved copy of this raw pointer and then went on to use
it later.

Fix bug 2543728.

Change-Id: I90e17693e15bff0969f103b5947d004837189c44
/external/webkit/WebCore/page/EventHandler.cpp
da713c0266664dc15b021e99cca31cadc5bd2bdc 05-May-2010 Ben Murdoch <benm@google.com> Fix a crash caused by navigating away from a page with your finger still down (when the old and new pages have
touch event handlers installed) and then releasing your finger on the new page after WebCore has performed a
garbage collection.

Cherry pick of webkit.org revision 58760.

Bug=2543728

Change-Id: I4c9a896ff81881211746451f49158b7e99eb9166
/external/webkit/WebCore/page/EventHandler.cpp
0361ff17d43cdfdc6c9d3ae65e8716a4cbeed862 01-Mar-2010 Ben Murdoch <benm@google.com> Prepare touch key modifiers for upstreaming.

Fix two compiler warnings in EventHandler.cpp

The webkit bug tracking this was https://bugs.webkit.org/show_bug.cgi?id=35521
and was landed to the WebKit tree as r55843.

Change-Id: Id49ba00d49bf98797a79b6f55b1cb1f906f5e0ad
/external/webkit/WebCore/page/EventHandler.cpp
6ed4a4e9a23ead7c910239171daf02b8fbecc17b 05-Mar-2010 Leon Scroggins <scroggo@google.com> Only call plugin touch code if it is in full screen
mode or it is the document focused node.

Remove Android special code added to support prevent
default for double tap and long press. Long press
and double tap needs to call preventDefault if it
is needed.

Remove Android special code added to pass event time.

Need a separate CL for android_npapi.
/external/webkit/WebCore/page/EventHandler.cpp
59e82546834743f2eec92b6816cb9a46a4e82101 23-Feb-2010 Ben Murdoch <benm@google.com> The element that receives the touch event should be the target element of the touch that caused the event to be generated.

Also build the touch target list based on the target element of the touch that caused the event to be generated.

Landed to webkit as http://trac.webkit.org/changeset/55287

Change-Id: I4414b703a7b3e7c6ea6917be624ab9a7786e24a9
/external/webkit/WebCore/page/EventHandler.cpp
cd97be1e939c83f2a837fa63c24d06231a0097d9 23-Feb-2010 Ben Murdoch <benm@google.com> Update touch handler in preparation for upstreaming of m_originatingTouchTargets map. WebKit bug tracking is https://bugs.webkit.org/show_bug.cgi?id=34585

Landed to webkit as http://trac.webkit.org/changeset/55230

Change-Id: I68fa02615aec35c8c2d3e7c69e8479c33d66293c
/external/webkit/WebCore/page/EventHandler.cpp
05dd33bc8f86dd92bb5fa0a29160cdce30eedd01 22-Feb-2010 Ben Murdoch <benm@google.com> Co-ordinates of a TouchEvent object should be 0,0 to match the behavior on iPhone. It is the co-ordinates of the Touch object wrapped up by a touch event that should update with motion.

Update EventHandler::handleTouchEvent to match what landed to webkit in http://trac.webkit.org/changeset/55146

Change-Id: I91dfcfbbb53020b85f646bcf58eb4f3afd6be8e7
/external/webkit/WebCore/page/EventHandler.cpp
63f95120ca90887045131d7ecf183e171d5dbe5d 15-Feb-2010 Ben Murdoch <benm@google.com> Don't add something to a hash map and then get it out again immediately if we don't need to.

Change-Id: Ic6718a7c23e8896f5bbbb5cadcc22aa9a3108530
/external/webkit/WebCore/page/EventHandler.cpp
37ee8a08023fb2e5af82a4164797459e256c18e1 11-Feb-2010 Ben Murdoch <benm@google.com> Fix the creation of the touchTargets list to match what the iPhone does and maintain compatability with existing apps like SuperPudu.

touchTargets should always have at least one element and should be based on the target where the touch originated, not where it is now.

This needs to be upstreamed to webkit.

Change-Id: Ie4e6f65e77484e0eac6d0f239df9dd3a460e7bce
/external/webkit/WebCore/page/EventHandler.cpp
885493cb204540cc0d918892ef5d4ba2b8285766 28-Jan-2010 Ben Murdoch <benm@google.com> Store the originating target for a touch (i.e. calculated in touchstart) in a hash map, so that we can use that originating target as the target for future move/end/cancel events that that touch generates.

This matches the behaviour that the iPhone exhibits.

Change-Id: Iff5e29c795b8ae6128e67ad5d42a959b61f966f2
/external/webkit/WebCore/page/EventHandler.cpp
a161eb599140267f553b1efb6458ab4a899d700a 03-Feb-2010 Steve Block <steveblock@google.com> Merge webkit.org at r54127 : Fix conflicts with Android addition of touch event time

This is not yet upstreamed, so we keep ours.
See https://android-git.corp.google.com/g/#change,39424

Change-Id: I65233af30227b7dd84a1c2b29e5dfc6da20e905e
/external/webkit/WebCore/page/EventHandler.cpp
8b17ffea299c44342b5479322adcb686277df548 02-Feb-2010 Steve Block <steveblock@google.com> Merge webkit.org at r54127 : Fix final trivial merges

Change-Id: Ib24c66a3c609fd1c8ae9697f471a8abc85e5aa33
/external/webkit/WebCore/page/EventHandler.cpp
1198b35477e381f4af724f65d426996ea16716de 03-Feb-2010 Steve Block <steveblock@google.com> Merge webkit.org at r54127 : Merge conflicts due to longpress and doubletap touchevents

Keep ours as this code has not yet been upstreamed.
Change-Id: Ia05ab6c8c36b2d332fec2fe4c16ceacff2933382
/external/webkit/WebCore/page/EventHandler.cpp
4247478b67d5b291c805d149cd09b6ac249d007d 02-Feb-2010 Steve Block <steveblock@google.com> Merge webkit.org at r54127 : Resolve conflicts for handleTouchEvent

On Android, handleTouchEvent returns int, rather than bool.

Change-Id: I8ba16342eac7ccca1c7df3fa36b52ca8192a69b5
/external/webkit/WebCore/page/EventHandler.cpp
d0825bca7fe65beaee391d30da42e937db621564 02-Feb-2010 Steve Block <steveblock@google.com> Merge webkit.org at r54127 : Initial merge by git

Change-Id: Ib661abb595522f50ea406f72d3a0ce17f7193c82
/external/webkit/WebCore/page/EventHandler.cpp
22c64e5cc7b7c54cea1cf6cb3bb1021f072e365c 03-Feb-2010 Grace Kloba <klobag@google.com> Pass touch event time from Java to WebKit

merge from https://android-git.corp.google.com/g/#change,39356
/external/webkit/WebCore/page/EventHandler.cpp
0647d20051006653118db0903488325680beeb52 01-Feb-2010 Steve Block <steveblock@google.com> Add ANDROID tags to some touchevents changes that have yet to be upstreamed

Change-Id: Ie67cdb2c404c59589f282b2b4494507d5c606f11
/external/webkit/WebCore/page/EventHandler.cpp
5f17e4c7a30a97ea3f000145b03b0aa9da8b5e66 01-Feb-2010 Steve Block <steveblock@google.com> Update Android to reflect final version submitted to webkit.org when changing touchevents behavior

See http://trac.webkit.org/changeset/52922

Change-Id: I2057acd590a540744a4d7db6fe9b29b887339906
/external/webkit/WebCore/page/EventHandler.cpp
e566177588db97824429f0ab784623d38d866224 01-Feb-2010 Steve Block <steveblock@google.com> Update Android to reflect final version submitted to webkit.org when adding touchcancel support

See http://trac.webkit.org/changeset/53548

Change-Id: Ie64613b373a88a5333e83e4a9c9cb1e8d72092fb
/external/webkit/WebCore/page/EventHandler.cpp
d1919980a4bbb7f3aa73a6a83110fbec0c220e59 22-Jan-2010 Ben Murdoch <benm@google.com> Stop forwarding touch events from Java when the top level document is detached rather than when eventHandlers are cleared for a frame.
Also no longer keep track of the number of touch event handlers that a page has registered. If a page requests touch events, always
send them from Java until a new page is loaded. This simplifies the logic when dealing with the page cache as otherwise as well as
restoring the forwarding of touch events when a page is restored from the page cache, we would need to restore the number of touch handlers
that have been registered.

Change-Id: I0269e1632a37ccbf105bac658c2cb7f1d5cd3052
/external/webkit/WebCore/page/EventHandler.cpp
9c3f8716aa3ce8ca612b4200c02a8530cfd599ba 22-Jan-2010 Ben Murdoch <benm@google.com> absoluteToLocal works with a page co-ordinate that is relative to the top left of the containing frame's document, so fix a bug in the WebCore touch event handler where the wrong page co-ordinates were being passed to the Touch construtor. This part of the change should be upstreamed to webkit.

Also fix a crash when a touchCancel event is sent to a plugin because touchCancel, like touchend is not guaranteed to have data in touches, but will have data in changedTouches.

Change-Id: I5345d7baf4e4325b24fbc5fbe60132dafb80e006
/external/webkit/WebCore/page/EventHandler.cpp
f5306da72ab6bb63f7ae07371e687f72a75c2fb2 07-Jan-2010 Ben Murdoch <benm@google.com> Refactor our touch event code to use the version submitted to webkit.org by the Qt team.

Change-Id: I2953472cee68aadf18f9dd740e9b3f69ad729cf0
/external/webkit/WebCore/page/EventHandler.cpp
643ca7872b450ea4efacab6188849e5aac2ba161 15-Dec-2009 Steve Block <steveblock@google.com> Merge webkit.org at r51976 : Initial merge by git.

Change-Id: Ib0e7e2f0fb4bee5a186610272edf3186f0986b43
/external/webkit/WebCore/page/EventHandler.cpp
3d0d3fdaa1308448b47592c03cda81c7f9e1f789 08-Dec-2009 Grace Kloba <klobag@google.com> Enable longpress and doubletap to WebKit as touch
event if it is requested.
/external/webkit/WebCore/page/EventHandler.cpp
cac0f67c402d107cdb10971b95719e2ff9c7c76b 05-Nov-2009 Steve Block <steveblock@google.com> Merge webkit.org at r50258 : Initial merge by git.

Change-Id: I1a9e1dc4ed654b69174ad52a4f031a07240f37b0
/external/webkit/WebCore/page/EventHandler.cpp
231d4e3152a9c27a73b6ac7badbe6be673aa3ddf 08-Oct-2009 Steve Block <steveblock@google.com> Merge webkit.org at R49305 : Automatic merge by git.

Change-Id: I8968561bc1bfd72b8923b7118d3728579c6dbcc7
/external/webkit/WebCore/page/EventHandler.cpp
64f216064ff66ab180b5c65256b770d60b1beee3 15-Sep-2009 Grace Kloba <klobag@google.com> For TouchEventEnd, touches and targetTouches are empty list.

Fix http://b/issue?id=1905451
/external/webkit/WebCore/page/EventHandler.cpp
058ccc7ba0a4d59b9f6e92808332aa9895425fc7 19-Aug-2009 Andrei Popescu <andreip@google.com> Revert "Merge WebKit r47420"

This reverts commit d227fc870c7a697500a3c900c31baf05fb9a8524.
/external/webkit/WebCore/page/EventHandler.cpp
d227fc870c7a697500a3c900c31baf05fb9a8524 18-Aug-2009 Ben Murdoch <benm@google.com> Merge WebKit r47420
/external/webkit/WebCore/page/EventHandler.cpp
f387cad0dc92f856383b5200c20fb02099df4ea5 12-Aug-2009 Ben Murdoch <benm@google.com> r47029: Merges WebCore/page, plugins and storage.
/external/webkit/WebCore/page/EventHandler.cpp
0bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5 11-Aug-2009 Ben Murdoch <benm@google.com> Merge in WebKit r47029.
/external/webkit/WebCore/page/EventHandler.cpp
47948bfb8a524bddc90acb80c878878a561b3e88 23-Jun-2009 Derek Sollenberger <djsollen@google.com> Adding keyEvent support for plugins.
/external/webkit/WebCore/page/EventHandler.cpp
5f1ab04193ad0130ca8204aadaceae083aca9881 17-Jun-2009 Feng Qian <fqian@google.com> Get WebKit r44544.
/external/webkit/WebCore/page/EventHandler.cpp
8f72e70a9fd78eec56623b3a62e68f16b7b27e28 11-Apr-2009 Feng Qian <> AI 145796: Land the WebKit merge @r42026.

Automated import of CL 145796
/external/webkit/WebCore/page/EventHandler.cpp
53e2041125abf29c826b16dc484d27d97ccbcc20 25-Mar-2009 Grace Kloba <> Automated import from //branches/master/...@141472,141472
/external/webkit/WebCore/page/EventHandler.cpp
635860845790a19bf50bbc51ba8fb66a96dde068 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
/external/webkit/WebCore/page/EventHandler.cpp
8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/webkit/WebCore/page/EventHandler.cpp
648161bb0edfc3d43db63caed5cc5213bc6cb78f 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/webkit/WebCore/page/EventHandler.cpp
1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/external/webkit/WebCore/page/EventHandler.cpp
9364f22aed35e1a1e9d07c121510f80be3ab0502 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/external/webkit/WebCore/page/EventHandler.cpp
d8543bb6618c17b12da906afa77d216f58cf4058 12-Jan-1970 Upstream <upstream-import@none> external/webkit r30707
/external/webkit/WebCore/page/EventHandler.cpp