Fix the incorrect behavior touch sound on single tap event.
authorSanghyup Lee <sh53.lee@samsung.com>
Wed, 22 May 2013 01:49:49 +0000 (10:49 +0900)
committerGerrit Code Review <gerrit2@kim11>
Fri, 24 May 2013 02:00:04 +0000 (11:00 +0900)
commitdd33b27669f13a6cb662532767bde2dc7c73e844
tree6c3fdb4008b12ab05b6a7e6994dc8e4d155931b6
parent6c0c9b3a500b0076daf4348d516b5229565b1b87
Fix the incorrect behavior touch sound on single tap event.

[Title] Fix the incorrect behavior touch sound on single tap event.
[Issue#] DCM-1690
[Problem] There is no touch sound when tapped object that has JQuery mobile's vclick event.
[Cause] Link event check that node has Atag, button, input tag or onclick event only.
[Solution] Improve checking routine to decide sound effect on link event.
- Add '!rendererIsEditaple()' for loop conditions to ignore input-text or textarea tags.
- Use supportsFocus() instead of checking Atag, button, input tags to support vclick event.
- Add mouse down, up, over event to play touch sound.
- isRoot() moved because play touch sound when root node has Atags.

Change-Id: Id15eba2895a236715da08d7c853bbbf26c4cab76
Source/WebCore/page/EventHandler.cpp