| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 // absolutePoint - For wheel scrolls - the location, in absolute coordinates
, where the event occured. | 256 // absolutePoint - For wheel scrolls - the location, in absolute coordinates
, where the event occured. |
| 257 bool scroll(ScrollDirection, ScrollGranularity, Node* startNode = nullptr, N
ode** stopNode = nullptr, float delta = 1.0f, IntPoint absolutePoint = IntPoint(
)); | 257 bool scroll(ScrollDirection, ScrollGranularity, Node* startNode = nullptr, N
ode** stopNode = nullptr, float delta = 1.0f, IntPoint absolutePoint = IntPoint(
)); |
| 258 | 258 |
| 259 TouchAction intersectTouchAction(const TouchAction, const TouchAction); | 259 TouchAction intersectTouchAction(const TouchAction, const TouchAction); |
| 260 TouchAction computeEffectiveTouchAction(const Node&); | 260 TouchAction computeEffectiveTouchAction(const Node&); |
| 261 | 261 |
| 262 HitTestResult hitTestResultInFrame(LocalFrame*, const LayoutPoint&, HitTestR
equest::HitTestRequestType hitType = HitTestRequest::ReadOnly | HitTestRequest::
Active); | 262 HitTestResult hitTestResultInFrame(LocalFrame*, const LayoutPoint&, HitTestR
equest::HitTestRequestType hitType = HitTestRequest::ReadOnly | HitTestRequest::
Active); |
| 263 | 263 |
| 264 void invalidateClick(); | 264 void invalidateClick(); |
| 265 | 265 |
| 266 void updateMouseEventTargetNode(Node*, const PlatformMouseEvent&, bool fireM
ouseOverOut); | 266 void updateMouseEventTargetNode(Node*, const PlatformMouseEvent&, bool); |
| 267 void sendMouseEventsForNodeTransition(Node*, Node*, const PlatformMouseEvent
&); |
| 267 | 268 |
| 268 MouseEventWithHitTestResults prepareMouseEvent(const HitTestRequest&, const
PlatformMouseEvent&); | 269 MouseEventWithHitTestResults prepareMouseEvent(const HitTestRequest&, const
PlatformMouseEvent&); |
| 269 | 270 |
| 270 bool dispatchMouseEvent(const AtomicString& eventType, Node* target, int cli
ckCount, const PlatformMouseEvent&, bool setUnder); | 271 bool dispatchMouseEvent(const AtomicString& eventType, Node* target, int cli
ckCount, const PlatformMouseEvent&, bool setUnder); |
| 271 bool dispatchDragEvent(const AtomicString& eventType, Node* target, const Pl
atformMouseEvent&, DataTransfer*); | 272 bool dispatchDragEvent(const AtomicString& eventType, Node* target, const Pl
atformMouseEvent&, DataTransfer*); |
| 272 | 273 |
| 273 void clearDragDataTransfer(); | 274 void clearDragDataTransfer(); |
| 274 | 275 |
| 275 bool handleDrag(const MouseEventWithHitTestResults&, DragInitiator); | 276 bool handleDrag(const MouseEventWithHitTestResults&, DragInitiator); |
| 276 bool tryStartDrag(const MouseEventWithHitTestResults&); | 277 bool tryStartDrag(const MouseEventWithHitTestResults&); |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 bool m_longTapShouldInvokeContextMenu; | 398 bool m_longTapShouldInvokeContextMenu; |
| 398 | 399 |
| 399 Timer<EventHandler> m_activeIntervalTimer; | 400 Timer<EventHandler> m_activeIntervalTimer; |
| 400 double m_lastShowPressTimestamp; | 401 double m_lastShowPressTimestamp; |
| 401 RefPtrWillBeMember<Element> m_lastDeferredTapElement; | 402 RefPtrWillBeMember<Element> m_lastDeferredTapElement; |
| 402 }; | 403 }; |
| 403 | 404 |
| 404 } // namespace blink | 405 } // namespace blink |
| 405 | 406 |
| 406 #endif // EventHandler_h | 407 #endif // EventHandler_h |
| OLD | NEW |