| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef EventHandlingUtil_h | 5 #ifndef EventHandlingUtil_h |
| 6 #define EventHandlingUtil_h | 6 #define EventHandlingUtil_h |
| 7 | 7 |
| 8 #include "core/layout/HitTestResult.h" | 8 #include "core/layout/HitTestResult.h" |
| 9 #include "core/page/EventWithHitTestResults.h" | 9 #include "core/page/EventWithHitTestResults.h" |
| 10 #include "platform/geometry/LayoutPoint.h" | 10 #include "platform/geometry/LayoutPoint.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 HitTestRequest::HitTestRequestType hit_type = HitTestRequest::kReadOnly | | 24 HitTestRequest::HitTestRequestType hit_type = HitTestRequest::kReadOnly | |
| 25 HitTestRequest::kActive); | 25 HitTestRequest::kActive); |
| 26 | 26 |
| 27 WebInputEventResult MergeEventResult(WebInputEventResult result_a, | 27 WebInputEventResult MergeEventResult(WebInputEventResult result_a, |
| 28 WebInputEventResult result_b); | 28 WebInputEventResult result_b); |
| 29 WebInputEventResult ToWebInputEventResult(DispatchEventResult); | 29 WebInputEventResult ToWebInputEventResult(DispatchEventResult); |
| 30 | 30 |
| 31 PaintLayer* LayerForNode(Node*); | 31 PaintLayer* LayerForNode(Node*); |
| 32 ScrollableArea* AssociatedScrollableArea(const PaintLayer*); | 32 ScrollableArea* AssociatedScrollableArea(const PaintLayer*); |
| 33 | 33 |
| 34 bool IsInDocument(EventTarget*); |
| 35 |
| 34 ContainerNode* ParentForClickEvent(const Node&); | 36 ContainerNode* ParentForClickEvent(const Node&); |
| 35 | 37 |
| 36 LayoutPoint ContentPointFromRootFrame(LocalFrame*, | 38 LayoutPoint ContentPointFromRootFrame(LocalFrame*, |
| 37 const IntPoint& point_in_root_frame); | 39 const IntPoint& point_in_root_frame); |
| 38 | 40 |
| 39 MouseEventWithHitTestResults PerformMouseEventHitTest(LocalFrame*, | 41 MouseEventWithHitTestResults PerformMouseEventHitTest(LocalFrame*, |
| 40 const HitTestRequest&, | 42 const HitTestRequest&, |
| 41 const WebMouseEvent&); | 43 const WebMouseEvent&); |
| 42 | 44 |
| 43 } // namespace EventHandlingUtil | 45 } // namespace EventHandlingUtil |
| 44 | 46 |
| 45 } // namespace blink | 47 } // namespace blink |
| 46 | 48 |
| 47 #endif // EventHandlingUtil_h | 49 #endif // EventHandlingUtil_h |
| OLD | NEW |