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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 bool isTouchPointerIdActiveOnFrame(int, LocalFrame*) const; | 257 bool isTouchPointerIdActiveOnFrame(int, LocalFrame*) const; |
258 | 258 |
259 private: | 259 private: |
260 WebInputEventResult handleMouseMoveOrLeaveEvent( | 260 WebInputEventResult handleMouseMoveOrLeaveEvent( |
261 const WebMouseEvent&, | 261 const WebMouseEvent&, |
262 const Vector<WebMouseEvent>&, | 262 const Vector<WebMouseEvent>&, |
263 HitTestResult* hoveredNode = nullptr, | 263 HitTestResult* hoveredNode = nullptr, |
264 bool onlyUpdateScrollbars = false, | 264 bool onlyUpdateScrollbars = false, |
265 bool forceLeave = false); | 265 bool forceLeave = false); |
266 | 266 |
267 HitTestRequest::HitTestRequestType getHitTypeForGestureType( | |
268 PlatformEvent::EventType); | |
269 void applyTouchAdjustment(WebGestureEvent*, HitTestResult*); | 267 void applyTouchAdjustment(WebGestureEvent*, HitTestResult*); |
270 WebInputEventResult handleGestureTapDown( | 268 WebInputEventResult handleGestureTapDown( |
271 const GestureEventWithHitTestResults&); | 269 const GestureEventWithHitTestResults&); |
272 WebInputEventResult handleGestureTap(const GestureEventWithHitTestResults&); | 270 WebInputEventResult handleGestureTap(const GestureEventWithHitTestResults&); |
273 WebInputEventResult handleGestureLongPress( | 271 WebInputEventResult handleGestureLongPress( |
274 const GestureEventWithHitTestResults&); | 272 const GestureEventWithHitTestResults&); |
275 WebInputEventResult handleGestureLongTap( | 273 WebInputEventResult handleGestureLongTap( |
276 const GestureEventWithHitTestResults&); | 274 const GestureEventWithHitTestResults&); |
277 | 275 |
278 void updateGestureTargetNodeForMouseEvent( | 276 void updateGestureTargetNodeForMouseEvent( |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 | 384 |
387 // Set on GestureTapDown if the |pointerdown| event corresponding to the | 385 // Set on GestureTapDown if the |pointerdown| event corresponding to the |
388 // triggering |touchstart| event was canceled. This suppresses mouse event | 386 // triggering |touchstart| event was canceled. This suppresses mouse event |
389 // firing for the current gesture sequence (i.e. until next GestureTapDown). | 387 // firing for the current gesture sequence (i.e. until next GestureTapDown). |
390 bool m_suppressMouseEventsFromGestures; | 388 bool m_suppressMouseEventsFromGestures; |
391 }; | 389 }; |
392 | 390 |
393 } // namespace blink | 391 } // namespace blink |
394 | 392 |
395 #endif // EventHandler_h | 393 #endif // EventHandler_h |
OLD | NEW |