Changeset 117128 in webkit
- Timestamp:
- May 15, 2012 12:58:56 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r117123 r117128 1 2012-05-15 Terry Anderson <tdanderson@chromium.org> 2 3 [chromium] Compute the best target node on a GestureTap event 4 https://bugs.webkit.org/show_bug.cgi?id=85101 5 6 Reviewed by Adam Barth. 7 8 * platform/chromium/test_expectations.txt: 9 The flaky tests in touchadjustment/ have been addressed in WK86218. 10 1 11 2012-05-15 Mike West <mkwst@chromium.org> 2 12 -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r117089 r117128 143 143 // Battery Status API is not supported yet in the chromium port. 144 144 BUGWK62698 SKIP : batterystatus = PASS FAIL 145 146 // Touch Adjustment is not supported yet in the chromium port.147 BUGWK78801 SKIP : touchadjustment/ = FAIL148 145 149 146 // Network Information API is not supported yet in the chromium port. -
trunk/Source/WebCore/ChangeLog
r117126 r117128 1 2012-05-15 Terry Anderson <tdanderson@chromium.org> 2 3 [chromium] Compute the best target node on a GestureTap event 4 https://bugs.webkit.org/show_bug.cgi?id=85101 5 6 Reviewed by Adam Barth. 7 8 Using the tests in the touchadjustment/ directory. 9 10 * WebCore.gypi: 11 Include TouchAdjustment.* files. 12 * page/TouchAdjustment.cpp: 13 (WebCore::TouchAdjustment::zoomableIntersectionQuotient): 14 (WebCore::TouchAdjustment::findNodeWithLowestDistanceMetric): 15 No longer using the INFINITY constant due to problems with compiling 16 on chromium win. 17 1 18 2012-05-15 Chris Rogers <crogers@google.com> 2 19 -
trunk/Source/WebCore/WebCore.gypi
r117126 r117128 3063 3063 'page/SuspendableTimer.cpp', 3064 3064 'page/SuspendableTimer.h', 3065 'page/TouchAdjustment.cpp', 3066 'page/TouchAdjustment.h', 3065 3067 'page/UserContentURLPattern.cpp', 3066 3068 'page/WebKitAnimation.cpp', -
trunk/Source/WebCore/page/TouchAdjustment.cpp
r116994 r117128 232 232 // Check the rectangle is meaningful zoom target. It should at least contain the hotspot. 233 233 if (!rect.contains(touchHotspot)) 234 return INFINITY;234 return std::numeric_limits<float>::infinity(); 235 235 IntRect intersection = rect; 236 236 intersection.intersect(touchArea); … … 247 247 { 248 248 targetNode = 0; 249 float bestDistanceMetric = INFINITY;249 float bestDistanceMetric = std::numeric_limits<float>::infinity(); 250 250 SubtargetGeometryList::const_iterator it = subtargets.begin(); 251 251 const SubtargetGeometryList::const_iterator end = subtargets.end(); -
trunk/Source/WebKit/chromium/ChangeLog
r117110 r117128 1 2012-05-15 Terry Anderson <tdanderson@chromium.org> 2 3 [chromium] Compute the best target node on a GestureTap event 4 https://bugs.webkit.org/show_bug.cgi?id=85101 5 6 Reviewed by Adam Barth. 7 8 * features.gypi: 9 Enable the touch adjustment code by default. 10 * src/WebInputEventConversion.cpp: 11 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder): 12 In the case of a GestureTap, deltaX represents the horizontal padding of the touch 13 area and deltaY represents the vertical padding of the touch area. 14 1 15 2012-05-15 James Robinson <jamesr@chromium.org> 2 16 -
trunk/Source/WebKit/chromium/features.gypi
r117028 r117128 99 99 'ENABLE_SVG=<(enable_svg)', 100 100 'ENABLE_SVG_FONTS=<(enable_svg)', 101 'ENABLE_TOUCH_ADJUSTMENT=1', 101 102 'ENABLE_TOUCH_EVENTS=<(enable_touch_events)', 102 103 'ENABLE_TOUCH_ICON_LOADING=<(enable_touch_icon_loading)', -
trunk/Source/WebKit/chromium/src/WebInputEventConversion.cpp
r117098 r117128 149 149 case WebInputEvent::GestureTap: 150 150 m_type = PlatformEvent::GestureTap; 151 m_area = IntSize(e.deltaX * 2, e.deltaY * 2); 151 152 break; 152 153 case WebInputEvent::GestureTapDown:
Note: See TracChangeset
for help on using the changeset viewer.