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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 | 303 |
304 void resetOverscroll(bool didScrollX, bool didScrollY); | 304 void resetOverscroll(bool didScrollX, bool didScrollY); |
305 void handleOverscroll(const ScrollResult&, const FloatPoint& position = Floa
tPoint(), const FloatSize& velocity = FloatSize()); | 305 void handleOverscroll(const ScrollResult&, const FloatPoint& position = Floa
tPoint(), const FloatSize& velocity = FloatSize()); |
306 | 306 |
307 void customizedScroll(const Node& startNode, ScrollState&); | 307 void customizedScroll(const Node& startNode, ScrollState&); |
308 | 308 |
309 HitTestResult hitTestResultInFrame(LocalFrame*, const LayoutPoint&, HitTestR
equest::HitTestRequestType hitType = HitTestRequest::ReadOnly | HitTestRequest::
Active); | 309 HitTestResult hitTestResultInFrame(LocalFrame*, const LayoutPoint&, HitTestR
equest::HitTestRequestType hitType = HitTestRequest::ReadOnly | HitTestRequest::
Active); |
310 | 310 |
311 void invalidateClick(); | 311 void invalidateClick(); |
312 | 312 |
313 void updateMouseEventTargetNode(Node*, const PlatformMouseEvent&); | 313 PassRefPtrWillBeRawPtr<Node> updateMouseEventTargetNode(Node*, const Platfor
mMouseEvent&); |
| 314 void updateMouseEventTargetNodeAndSendEvents(Node*, const PlatformMouseEvent
&, bool = false); |
| 315 |
314 | 316 |
315 MouseEventWithHitTestResults prepareMouseEvent(const HitTestRequest&, const
PlatformMouseEvent&); | 317 MouseEventWithHitTestResults prepareMouseEvent(const HitTestRequest&, const
PlatformMouseEvent&); |
316 | 318 |
317 WebInputEventResult dispatchMouseEvent(const AtomicString& eventType, Node*
target, int clickCount, const PlatformMouseEvent&); | 319 WebInputEventResult dispatchMouseEvent(const AtomicString& eventType, Node*
target, int clickCount, const PlatformMouseEvent&); |
318 | 320 |
319 // Dispatches ME after corresponding PE provided the PE has not been cancele
d. The eventType arg | 321 // Dispatches ME after corresponding PE provided the PE has not been cancele
d. The eventType arg |
320 // must be a mouse event that can be gated though a preventDefaulted pointer
down (i.e., one of | 322 // must be a mouse event that can be gated though a preventDefaulted pointer
down (i.e., one of |
321 // {mousedown, mousemove, mouseup}). | 323 // {mousedown, mousemove, mouseup}). |
322 // TODO(mustaq): Can we avoid the clickCount param, instead use PlatformMous
eEvent's count? | 324 // TODO(mustaq): Can we avoid the clickCount param, instead use PlatformMous
eEvent's count? |
323 // Same applied to dispatchMouseEvent() above. | 325 // Same applied to dispatchMouseEvent() above. |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 // scroll which shouldn't propagate can't cause any element to | 483 // scroll which shouldn't propagate can't cause any element to |
482 // scroll other than the |m_previousGestureScrolledNode|. | 484 // scroll other than the |m_previousGestureScrolledNode|. |
483 bool m_deltaConsumedForScrollSequence; | 485 bool m_deltaConsumedForScrollSequence; |
484 }; | 486 }; |
485 | 487 |
486 } // namespace blink | 488 } // namespace blink |
487 | 489 |
488 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo); | 490 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo); |
489 | 491 |
490 #endif // EventHandler_h | 492 #endif // EventHandler_h |
OLD | NEW |