touch: Make sure the correct radius values are used for touch events.
The device may not always report the radii values for a touch event. In such cases, instead of making up a default value, always use 0 so that it is easy to determine if the radius is the real radius reported by the device or not. Also, at the same time, make sure that the radius value sent to webkit follows the spec. Also fix the radii adjustment for device-scale-factor. BUG=128553 TEST=manually with test-pages Review URL: https://chromiumcodereview.appspot.com/10383249 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138006 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment