[chromium] Don't use WebGestureEvent.boundingBox for touch adjustment
Created attachment 162538 [details] Patch
trchen@ It looks like you recently added another use of GestureEvent boundingBox, so I missed this one in transitioning all the usages to the new fields in bug 95573. Does this simple change look OK to you?
You may also want to comment out WebFrameTest.DisambiguationPopupTest for now. I have one question regarding to the definition of width and height. So (event.x, event.y) is always the top left corner of the fat tap area, and the area extends to (event.x + event.width, event.y + event.height)? From the chromium side change I thought (event.x, event.y) is the center and the area extends for (+-event.width, +-event.height). Thanks for the help!
Created attachment 162590 [details] Patch
(In reply to comment #3) > You may also want to comment out WebFrameTest.DisambiguationPopupTest for now. The fix looks simple enough, OK if I just make it? I'm not sure how to run the test though - in my build webkit_unit_tests doesn't include WebFrameTests, but from the .gypi it doesn't appear to be Android specific or anything so not sure why. > I have one question regarding to the definition of width and height. So (event.x, event.y) is always the top left corner of the fat tap area, and the area extends to (event.x + event.width, event.y + event.height)? > > From the chromium side change I thought (event.x, event.y) is the center and the area extends for (+-event.width, +-event.height). Yes, sorry - you're right. (event.x, event.y) is the center, and width/height represent the total width, so bounding box extends from event.x-width/2 to event.x+width/2 etc.
Ping - does this look OK to you know trchen@?
Comment on attachment 162590 [details] Patch Looks reasonable to me. Please check with trchen before landing.
(In reply to comment #6) > Ping - does this look OK to you know trchen@? LGTM. Great thanks for the explaination!
Great, thanks. Can someone put this in the CQ for me please? I want to get this gardened into chromium ASAP so I can start the process of removing these old fields before someone starts using them somewhere else ;-)
Comment on attachment 162590 [details] Patch Clearing flags on attachment: 162590 Committed r128058: <http://trac.webkit.org/changeset/128058>
All reviewed patches have been landed. Closing bug.