| 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 // absolutePoint - For wheel scrolls - the location, in absolute coordinates
, where the event occured. | 245 // absolutePoint - For wheel scrolls - the location, in absolute coordinates
, where the event occured. |
| 246 bool scroll(ScrollDirection, ScrollGranularity, Node* startNode = 0, Node**
stopNode = 0, float delta = 1.0f, IntPoint absolutePoint = IntPoint()); | 246 bool scroll(ScrollDirection, ScrollGranularity, Node* startNode = 0, Node**
stopNode = 0, float delta = 1.0f, IntPoint absolutePoint = IntPoint()); |
| 247 | 247 |
| 248 TouchAction intersectTouchAction(const TouchAction, const TouchAction); | 248 TouchAction intersectTouchAction(const TouchAction, const TouchAction); |
| 249 TouchAction computeEffectiveTouchAction(const LayoutPoint&); | 249 TouchAction computeEffectiveTouchAction(const LayoutPoint&); |
| 250 | 250 |
| 251 HitTestResult hitTestResultInFrame(LocalFrame*, const LayoutPoint&, HitTestR
equest::HitTestRequestType hitType = HitTestRequest::ReadOnly | HitTestRequest::
Active | HitTestRequest::ConfusingAndOftenMisusedDisallowShadowContent); | 251 HitTestResult hitTestResultInFrame(LocalFrame*, const LayoutPoint&, HitTestR
equest::HitTestRequestType hitType = HitTestRequest::ReadOnly | HitTestRequest::
Active | HitTestRequest::ConfusingAndOftenMisusedDisallowShadowContent); |
| 252 | 252 |
| 253 void invalidateClick(); | 253 void invalidateClick(); |
| 254 | 254 |
| 255 Node* nodeUnderMouse() const; | |
| 256 | |
| 257 void updateMouseEventTargetNode(Node*, const PlatformMouseEvent&, bool fireM
ouseOverOut); | 255 void updateMouseEventTargetNode(Node*, const PlatformMouseEvent&, bool fireM
ouseOverOut); |
| 258 | 256 |
| 259 MouseEventWithHitTestResults prepareMouseEvent(const HitTestRequest&, const
PlatformMouseEvent&); | 257 MouseEventWithHitTestResults prepareMouseEvent(const HitTestRequest&, const
PlatformMouseEvent&); |
| 260 | 258 |
| 261 bool dispatchMouseEvent(const AtomicString& eventType, Node* target, int cli
ckCount, const PlatformMouseEvent&, bool setUnder); | 259 bool dispatchMouseEvent(const AtomicString& eventType, Node* target, int cli
ckCount, const PlatformMouseEvent&, bool setUnder); |
| 262 bool dispatchDragEvent(const AtomicString& eventType, Node* target, const Pl
atformMouseEvent&, Clipboard*); | 260 bool dispatchDragEvent(const AtomicString& eventType, Node* target, const Pl
atformMouseEvent&, Clipboard*); |
| 263 | 261 |
| 264 void freeClipboard(); | 262 void freeClipboard(); |
| 265 | 263 |
| 266 bool handleDrag(const MouseEventWithHitTestResults&, CheckDragHysteresis); | 264 bool handleDrag(const MouseEventWithHitTestResults&, CheckDragHysteresis); |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 bool m_longTapShouldInvokeContextMenu; | 388 bool m_longTapShouldInvokeContextMenu; |
| 391 | 389 |
| 392 Timer<EventHandler> m_activeIntervalTimer; | 390 Timer<EventHandler> m_activeIntervalTimer; |
| 393 double m_lastShowPressTimestamp; | 391 double m_lastShowPressTimestamp; |
| 394 RefPtrWillBePersistent<Element> m_lastDeferredTapElement; | 392 RefPtrWillBePersistent<Element> m_lastDeferredTapElement; |
| 395 }; | 393 }; |
| 396 | 394 |
| 397 } // namespace WebCore | 395 } // namespace WebCore |
| 398 | 396 |
| 399 #endif // EventHandler_h | 397 #endif // EventHandler_h |
| OLD | NEW |