Changeset 163526 in webkit
- Timestamp:
- Feb 6, 2014 1:01:29 AM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r163524 r163526 1 2014-02-06 Csaba Osztrogonác <ossy@webkit.org> 2 3 Fix the build after r163516 for !ENABLE(ASYNC_SCROLLING) platforms 4 https://bugs.webkit.org/show_bug.cgi?id=128299 5 6 Reviewed by Antti Koivisto. 7 8 * UIProcess/WebPageProxy.cpp: 9 (WebKit::WebPageProxy::handleTouchEvent): 10 1 11 2014-02-05 Gavin Barraclough <barraclough@apple.com> 2 12 -
trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp
r163516 r163526 1374 1374 1375 1375 #if ENABLE(TOUCH_EVENTS) 1376 #if ENABLE(ASYNC_SCROLLING) 1376 1377 static bool anyTouchIsInNonFastScrollableRegion(RemoteScrollingCoordinatorProxy& scrollingCoordinator, const WebTouchEvent& event) 1377 1378 { … … 1383 1384 return false; 1384 1385 } 1386 #endif // ENABLE(ASYNC_SCROLLING) 1385 1387 1386 1388 void WebPageProxy::handleTouchEvent(const NativeWebTouchEvent& event) … … 1393 1395 // we do not send any of the events to the page even if is has listeners. 1394 1396 if (!m_isPageSuspended) { 1397 1398 #if ENABLE(ASYNC_SCROLLING) 1395 1399 // FIXME: we should only do this check for the start of a touch gesture. 1396 1400 if (!anyTouchIsInNonFastScrollableRegion(*m_scrollingCoordinatorProxy, event)) 1397 1401 return; 1402 #endif 1398 1403 1399 1404 m_touchEventQueue.append(event); … … 1417 1422 } 1418 1423 } 1419 #endif 1424 #endif // ENABLE(TOUCH_EVENTS) 1420 1425 1421 1426 void WebPageProxy::scrollBy(ScrollDirection direction, ScrollGranularity granularity)
Note: See TracChangeset
for help on using the changeset viewer.