| 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 WebInputEventResult updatePointerTargetAndDispatchEvents(const AtomicString&
mouseEventType, Node* target, | 286 WebInputEventResult updatePointerTargetAndDispatchEvents(const AtomicString&
mouseEventType, Node* target, |
| 287 int clickCount, const PlatformMouseEvent&); | 287 int clickCount, const PlatformMouseEvent&); |
| 288 | 288 |
| 289 WebInputEventResult dispatchDragEvent(const AtomicString& eventType, Node* t
arget, const PlatformMouseEvent&, DataTransfer*); | 289 WebInputEventResult dispatchDragEvent(const AtomicString& eventType, Node* t
arget, const PlatformMouseEvent&, DataTransfer*); |
| 290 | 290 |
| 291 void clearDragDataTransfer(); | 291 void clearDragDataTransfer(); |
| 292 | 292 |
| 293 bool handleDrag(const MouseEventWithHitTestResults&, DragInitiator); | 293 bool handleDrag(const MouseEventWithHitTestResults&, DragInitiator); |
| 294 bool tryStartDrag(const MouseEventWithHitTestResults&); | 294 bool tryStartDrag(const MouseEventWithHitTestResults&); |
| 295 void clearDragState(); | 295 void clearDragState(); |
| 296 void clearMouseDragState(); |
| 296 | 297 |
| 297 WebInputEventResult dispatchDragSrcEvent(const AtomicString& eventType, cons
t PlatformMouseEvent&); | 298 WebInputEventResult dispatchDragSrcEvent(const AtomicString& eventType, cons
t PlatformMouseEvent&); |
| 298 | 299 |
| 299 bool dragHysteresisExceeded(const IntPoint&) const; | 300 bool dragHysteresisExceeded(const IntPoint&) const; |
| 300 | 301 |
| 301 WebInputEventResult passMousePressEventToSubframe(MouseEventWithHitTestResul
ts&, LocalFrame* subframe); | 302 WebInputEventResult passMousePressEventToSubframe(MouseEventWithHitTestResul
ts&, LocalFrame* subframe); |
| 302 WebInputEventResult passMouseMoveEventToSubframe(MouseEventWithHitTestResult
s&, LocalFrame* subframe, HitTestResult* hoveredNode = nullptr); | 303 WebInputEventResult passMouseMoveEventToSubframe(MouseEventWithHitTestResult
s&, LocalFrame* subframe, HitTestResult* hoveredNode = nullptr); |
| 303 WebInputEventResult passMouseReleaseEventToSubframe(MouseEventWithHitTestRes
ults&, LocalFrame* subframe); | 304 WebInputEventResult passMouseReleaseEventToSubframe(MouseEventWithHitTestRes
ults&, LocalFrame* subframe); |
| 304 | 305 |
| 305 bool passMousePressEventToScrollbar(MouseEventWithHitTestResults&); | 306 bool passMousePressEventToScrollbar(MouseEventWithHitTestResults&); |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 bool m_longTapShouldInvokeContextMenu; | 392 bool m_longTapShouldInvokeContextMenu; |
| 392 | 393 |
| 393 Timer<EventHandler> m_activeIntervalTimer; | 394 Timer<EventHandler> m_activeIntervalTimer; |
| 394 double m_lastShowPressTimestamp; | 395 double m_lastShowPressTimestamp; |
| 395 Member<Element> m_lastDeferredTapElement; | 396 Member<Element> m_lastDeferredTapElement; |
| 396 }; | 397 }; |
| 397 | 398 |
| 398 } // namespace blink | 399 } // namespace blink |
| 399 | 400 |
| 400 #endif // EventHandler_h | 401 #endif // EventHandler_h |
| OLD | NEW |