| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 181 // Returns whether pointerId is active or not |
| 182 bool isPointerEventActive(int); | 182 bool isPointerEventActive(int); |
| 183 | 183 |
| 184 // Returns the type of the pointer corresponding to given pointerId |
| 185 WebPointerProperties::PointerType getPointerEventType(int); |
| 186 |
| 184 void setPointerCapture(int, EventTarget*); | 187 void setPointerCapture(int, EventTarget*); |
| 185 void releasePointerCapture(int, EventTarget*); | 188 void releasePointerCapture(int, EventTarget*); |
| 186 void elementRemoved(EventTarget*); | 189 void elementRemoved(EventTarget*); |
| 187 | 190 |
| 188 void setMouseDownMayStartAutoscroll() { m_mouseDownMayStartAutoscroll = true
; } | 191 void setMouseDownMayStartAutoscroll() { m_mouseDownMayStartAutoscroll = true
; } |
| 189 | 192 |
| 190 static WebInputEventResult mergeEventResult(WebInputEventResult resultA, Web
InputEventResult resultB); | 193 static WebInputEventResult mergeEventResult(WebInputEventResult resultA, Web
InputEventResult resultB); |
| 191 static WebInputEventResult toWebInputEventResult(DispatchEventResult); | 194 static WebInputEventResult toWebInputEventResult(DispatchEventResult); |
| 192 | 195 |
| 193 static PlatformEvent::Modifiers accessKeyModifiers(); | 196 static PlatformEvent::Modifiers accessKeyModifiers(); |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 // scroll which shouldn't propagate can't cause any element to | 486 // scroll which shouldn't propagate can't cause any element to |
| 484 // scroll other than the |m_previousGestureScrolledNode|. | 487 // scroll other than the |m_previousGestureScrolledNode|. |
| 485 bool m_deltaConsumedForScrollSequence; | 488 bool m_deltaConsumedForScrollSequence; |
| 486 }; | 489 }; |
| 487 | 490 |
| 488 } // namespace blink | 491 } // namespace blink |
| 489 | 492 |
| 490 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo); | 493 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo); |
| 491 | 494 |
| 492 #endif // EventHandler_h | 495 #endif // EventHandler_h |
| OLD | NEW |