Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(504)

Side by Side Diff: third_party/WebKit/Source/core/input/EventHandlingUtil.h

Issue 2860663006: Remove WebTouchEvent from TouchEventManager APIs (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
11 #include "public/platform/WebInputEventResult.h" 11 #include "public/platform/WebInputEventResult.h"
12 #include "public/platform/WebPointerEvent.h"
12 13
13 namespace blink { 14 namespace blink {
14 15
15 class LocalFrame; 16 class LocalFrame;
16 class ScrollableArea; 17 class ScrollableArea;
17 class PaintLayer; 18 class PaintLayer;
18 19
20 using WebCoalescedPointerEvent =
21 std::pair<WebPointerEvent, Vector<WebPointerEvent>>;
22
19 namespace EventHandlingUtil { 23 namespace EventHandlingUtil {
20 24
21 HitTestResult HitTestResultInFrame( 25 HitTestResult HitTestResultInFrame(
22 LocalFrame*, 26 LocalFrame*,
23 const LayoutPoint&, 27 const LayoutPoint&,
24 HitTestRequest::HitTestRequestType hit_type = HitTestRequest::kReadOnly | 28 HitTestRequest::HitTestRequestType hit_type = HitTestRequest::kReadOnly |
25 HitTestRequest::kActive); 29 HitTestRequest::kActive);
26 30
27 WebInputEventResult MergeEventResult(WebInputEventResult result_a, 31 WebInputEventResult MergeEventResult(WebInputEventResult result_a,
28 WebInputEventResult result_b); 32 WebInputEventResult result_b);
(...skipping 11 matching lines...) Expand all
40 44
41 MouseEventWithHitTestResults PerformMouseEventHitTest(LocalFrame*, 45 MouseEventWithHitTestResults PerformMouseEventHitTest(LocalFrame*,
42 const HitTestRequest&, 46 const HitTestRequest&,
43 const WebMouseEvent&); 47 const WebMouseEvent&);
44 48
45 } // namespace EventHandlingUtil 49 } // namespace EventHandlingUtil
46 50
47 } // namespace blink 51 } // namespace blink
48 52
49 #endif // EventHandlingUtil_h 53 #endif // EventHandlingUtil_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698