| 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 // the given node or a reasonable default (focus/last clicked). | 138 // the given node or a reasonable default (focus/last clicked). |
| 139 bool BubblingScroll(ScrollDirection, | 139 bool BubblingScroll(ScrollDirection, |
| 140 ScrollGranularity, | 140 ScrollGranularity, |
| 141 Node* starting_node = nullptr); | 141 Node* starting_node = nullptr); |
| 142 | 142 |
| 143 WebInputEventResult HandleMouseMoveEvent( | 143 WebInputEventResult HandleMouseMoveEvent( |
| 144 const WebMouseEvent&, | 144 const WebMouseEvent&, |
| 145 const Vector<WebMouseEvent>& coalesced_events); | 145 const Vector<WebMouseEvent>& coalesced_events); |
| 146 void HandleMouseLeaveEvent(const WebMouseEvent&); | 146 void HandleMouseLeaveEvent(const WebMouseEvent&); |
| 147 | 147 |
| 148 WebInputEventResult HandlePointerEvent(const WebPointerEvent&, Node* target); |
| 149 |
| 148 WebInputEventResult HandleMousePressEvent(const WebMouseEvent&); | 150 WebInputEventResult HandleMousePressEvent(const WebMouseEvent&); |
| 149 WebInputEventResult HandleMouseReleaseEvent(const WebMouseEvent&); | 151 WebInputEventResult HandleMouseReleaseEvent(const WebMouseEvent&); |
| 150 WebInputEventResult HandleWheelEvent(const WebMouseWheelEvent&); | 152 WebInputEventResult HandleWheelEvent(const WebMouseWheelEvent&); |
| 151 | 153 |
| 152 // Called on the local root frame exactly once per gesture event. | 154 // Called on the local root frame exactly once per gesture event. |
| 153 WebInputEventResult HandleGestureEvent(const WebGestureEvent&); | 155 WebInputEventResult HandleGestureEvent(const WebGestureEvent&); |
| 154 WebInputEventResult HandleGestureEvent(const GestureEventWithHitTestResults&); | 156 WebInputEventResult HandleGestureEvent(const GestureEventWithHitTestResults&); |
| 155 | 157 |
| 156 // Clear the old hover/active state within frames before moving the hover | 158 // Clear the old hover/active state within frames before moving the hover |
| 157 // state to the another frame | 159 // state to the another frame |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 | 390 |
| 389 // Set on GestureTapDown if the |pointerdown| event corresponding to the | 391 // Set on GestureTapDown if the |pointerdown| event corresponding to the |
| 390 // triggering |touchstart| event was canceled. This suppresses mouse event | 392 // triggering |touchstart| event was canceled. This suppresses mouse event |
| 391 // firing for the current gesture sequence (i.e. until next GestureTapDown). | 393 // firing for the current gesture sequence (i.e. until next GestureTapDown). |
| 392 bool suppress_mouse_events_from_gestures_; | 394 bool suppress_mouse_events_from_gestures_; |
| 393 }; | 395 }; |
| 394 | 396 |
| 395 } // namespace blink | 397 } // namespace blink |
| 396 | 398 |
| 397 #endif // EventHandler_h | 399 #endif // EventHandler_h |
| OLD | NEW |