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 18 matching lines...) Expand all Loading... |
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 ContainerNode* parentForClickEvent(const Node&); | 34 ContainerNode* parentForClickEvent(const Node&); |
35 | 35 |
36 LayoutPoint contentPointFromRootFrame(LocalFrame*, | 36 LayoutPoint contentPointFromRootFrame(LocalFrame*, |
37 const IntPoint& pointInRootFrame); | 37 const IntPoint& pointInRootFrame); |
38 | 38 |
39 MouseEventWithHitTestResults performMouseEventHitTest( | 39 MouseEventWithHitTestResults performMouseEventHitTest(LocalFrame*, |
40 LocalFrame*, | 40 const HitTestRequest&, |
41 const HitTestRequest&, | 41 const WebMouseEvent&); |
42 const PlatformMouseEvent&); | |
43 | 42 |
44 } // namespace EventHandlingUtil | 43 } // namespace EventHandlingUtil |
45 | 44 |
46 } // namespace blink | 45 } // namespace blink |
47 | 46 |
48 #endif // EventHandlingUtil_h | 47 #endif // EventHandlingUtil_h |
OLD | NEW |