| 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 | 171 |
| 172 bool bestClickableNodeForHitTestResult(const HitTestResult&, IntPoint& targe
tPoint, Node*& targetNode); | 172 bool bestClickableNodeForHitTestResult(const HitTestResult&, IntPoint& targe
tPoint, Node*& targetNode); |
| 173 bool bestContextMenuNodeForHitTestResult(const HitTestResult&, IntPoint& tar
getPoint, Node*& targetNode); | 173 bool bestContextMenuNodeForHitTestResult(const HitTestResult&, IntPoint& tar
getPoint, Node*& targetNode); |
| 174 // FIXME: This doesn't appear to be used outside tests anymore, what path ar
e we using now and is it tested? | 174 // FIXME: This doesn't appear to be used outside tests anymore, what path ar
e we using now and is it tested? |
| 175 bool bestZoomableAreaForTouchPoint(const IntPoint& touchCenter, const IntSiz
e& touchRadius, IntRect& targetArea, Node*& targetNode); | 175 bool bestZoomableAreaForTouchPoint(const IntPoint& touchCenter, const IntSiz
e& touchRadius, IntRect& targetArea, Node*& targetNode); |
| 176 | 176 |
| 177 WebInputEventResult sendContextMenuEvent(const PlatformMouseEvent&, Node* ov
errideTargetNode = nullptr); | 177 WebInputEventResult sendContextMenuEvent(const PlatformMouseEvent&, Node* ov
errideTargetNode = nullptr); |
| 178 WebInputEventResult sendContextMenuEventForKey(Element* overrideTargetElemen
t = nullptr); | 178 WebInputEventResult sendContextMenuEventForKey(Element* overrideTargetElemen
t = nullptr); |
| 179 WebInputEventResult sendContextMenuEventForGesture(const GestureEventWithHit
TestResults&); | 179 WebInputEventResult sendContextMenuEventForGesture(const GestureEventWithHit
TestResults&); |
| 180 | 180 |
| 181 // Returns whether pointerId is active or not |
| 182 bool isPointerEventActive(int); |
| 183 |
| 184 void setPointerCapture(int, EventTarget*); |
| 185 void releasePointerCapture(int, EventTarget*); |
| 186 void elementRemoved(EventTarget*); |
| 187 |
| 181 void setMouseDownMayStartAutoscroll() { m_mouseDownMayStartAutoscroll = true
; } | 188 void setMouseDownMayStartAutoscroll() { m_mouseDownMayStartAutoscroll = true
; } |
| 182 | 189 |
| 183 static WebInputEventResult mergeEventResult(WebInputEventResult resultA, Web
InputEventResult resultB); | 190 static WebInputEventResult mergeEventResult(WebInputEventResult resultA, Web
InputEventResult resultB); |
| 184 static WebInputEventResult toWebInputEventResult(DispatchEventResult); | 191 static WebInputEventResult toWebInputEventResult(DispatchEventResult); |
| 185 | 192 |
| 186 static PlatformEvent::Modifiers accessKeyModifiers(); | 193 static PlatformEvent::Modifiers accessKeyModifiers(); |
| 187 bool handleAccessKey(const PlatformKeyboardEvent&); | 194 bool handleAccessKey(const PlatformKeyboardEvent&); |
| 188 WebInputEventResult keyEvent(const PlatformKeyboardEvent&); | 195 WebInputEventResult keyEvent(const PlatformKeyboardEvent&); |
| 189 void defaultKeyboardEventHandler(KeyboardEvent*); | 196 void defaultKeyboardEventHandler(KeyboardEvent*); |
| 190 | 197 |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 // scroll which shouldn't propagate can't cause any element to | 465 // scroll which shouldn't propagate can't cause any element to |
| 459 // scroll other than the |m_previousGestureScrolledNode|. | 466 // scroll other than the |m_previousGestureScrolledNode|. |
| 460 bool m_deltaConsumedForScrollSequence; | 467 bool m_deltaConsumedForScrollSequence; |
| 461 }; | 468 }; |
| 462 | 469 |
| 463 } // namespace blink | 470 } // namespace blink |
| 464 | 471 |
| 465 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo); | 472 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo); |
| 466 | 473 |
| 467 #endif // EventHandler_h | 474 #endif // EventHandler_h |
| OLD | NEW |