Home
last modified time | relevance | path

Searched refs:touchEvent (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/web/tests/
DLinkHighlightTest.cpp70 WebGestureEvent touchEvent; in TEST() local
71 touchEvent.type = WebInputEvent::GestureShowPress; in TEST()
74 touchEvent.x = 20; in TEST()
75 touchEvent.y = 20; in TEST()
78 … PlatformGestureEventBuilder platformEvent(webViewImpl->mainFrameImpl()->frameView(), touchEvent); in TEST()
83 touchEvent.y = 40; in TEST()
85 … PlatformGestureEventBuilder platformEvent(webViewImpl->mainFrameImpl()->frameView(), touchEvent); in TEST()
89 touchEvent.y = 20; in TEST()
93 … PlatformGestureEventBuilder platformEvent(webViewImpl->mainFrameImpl()->frameView(), touchEvent); in TEST()
103 touchEvent.y = 100; in TEST()
[all …]
DWebInputEventConversionTest.cpp280 …RefPtr<TouchEvent> touchEvent = TouchEvent::create(touchList.get(), touchList.get(), touchList.get… in TEST() local
282 WebTouchEventBuilder webTouchBuilder(view, docRenderer, *touchEvent); in TEST()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DHitTestRequest.h59 bool touchEvent() const { return m_requestType & TouchEvent; } in touchEvent() function
60 bool mouseEvent() const { return !touchEvent(); } in mouseEvent()
68 bool touchMove() const { return move() && touchEvent(); } in touchMove()
69 bool touchRelease() const { return release() && touchEvent(); } in touchRelease()
/external/chromium_org/third_party/WebKit/Source/core/events/
DEventContext.cpp94 TouchEvent* touchEvent = toTouchEvent(event); in handleLocalEvents() local
95 touchEvent->setTouches(m_touches); in handleLocalEvents()
96 touchEvent->setTargetTouches(m_targetTouches); in handleLocalEvents()
97 touchEvent->setChangedTouches(m_changedTouches); in handleLocalEvents()
DTouchEvent.cpp92 …r<TouchEventDispatchMediator> TouchEventDispatchMediator::create(PassRefPtr<TouchEvent> touchEvent) in create() argument
94 return adoptRef(new TouchEventDispatchMediator(touchEvent)); in create()
97 TouchEventDispatchMediator::TouchEventDispatchMediator(PassRefPtr<TouchEvent> touchEvent) in TouchEventDispatchMediator() argument
98 : EventDispatchMediator(touchEvent) in TouchEventDispatchMediator()
DEventRetargeter.cpp50 void EventRetargeter::adjustForTouchEvent(Node* node, TouchEvent& touchEvent) in adjustForTouchEvent() argument
52 EventPath& eventPath = touchEvent.eventPath(); in adjustForTouchEvent()
66 adjustTouchList(node, touchEvent.touches(), eventPath, eventPathTouches); in adjustForTouchEvent()
67 adjustTouchList(node, touchEvent.targetTouches(), eventPath, eventPathTargetTouches); in adjustForTouchEvent()
68 adjustTouchList(node, touchEvent.changedTouches(), eventPath, eventPathChangedTouches); in adjustForTouchEvent()
/external/chromium_org/third_party/WebKit/Source/testing/runner/
DEventSender.cpp1086 WebTouchEvent touchEvent; in sendCurrentTouchEvent() local
1087 touchEvent.type = type; in sendCurrentTouchEvent()
1088 touchEvent.modifiers = touchModifiers; in sendCurrentTouchEvent()
1089 touchEvent.timeStampSeconds = getCurrentEventTimeSec(m_delegate); in sendCurrentTouchEvent()
1090 touchEvent.touchesLength = touchPoints.size(); in sendCurrentTouchEvent()
1092 touchEvent.touches[i] = touchPoints[i]; in sendCurrentTouchEvent()
1093 webview()->handleInputEvent(touchEvent); in sendCurrentTouchEvent()
/external/chromium_org/third_party/WebKit/Source/web/
DWebDevToolsAgentImpl.cpp311 …PlatformTouchEvent touchEvent = PlatformTouchEventBuilder(page->mainFrame()->view(), *static_cast<… in handleInputEvent() local
312 return ic->handleTouchEvent(page->mainFrame(), touchEvent); in handleInputEvent()
/external/chromium_org/third_party/WebKit/Source/core/page/
DEventHandler.cpp3784 RefPtr<TouchEvent> touchEvent = in handleTouchEvent() local
3788 touchEventTarget->toNode()->dispatchTouchEvent(touchEvent.get()); in handleTouchEvent()
3789 … swallowedEvent = swallowedEvent || touchEvent->defaultPrevented() || touchEvent->defaultHandled(); in handleTouchEvent()
3814 SyntheticSingleTouchEvent touchEvent(event); in dispatchSyntheticTouchEventIfEnabled() local
3815 if (handleTouchEvent(touchEvent)) in dispatchSyntheticTouchEventIfEnabled()