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

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

Issue 2829553002: Remove the dup function (Closed)
Patch Set: Created 3 years, 8 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"
(...skipping 13 matching lines...) Expand all
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 Element* ParentElementIfNeeded(Node*);
35 ContainerNode* ParentForClickEvent(const Node&); 34 ContainerNode* ParentForClickEvent(const Node&);
36 35
37 LayoutPoint ContentPointFromRootFrame(LocalFrame*, 36 LayoutPoint ContentPointFromRootFrame(LocalFrame*,
38 const IntPoint& point_in_root_frame); 37 const IntPoint& point_in_root_frame);
39 38
40 MouseEventWithHitTestResults PerformMouseEventHitTest(LocalFrame*, 39 MouseEventWithHitTestResults PerformMouseEventHitTest(LocalFrame*,
41 const HitTestRequest&, 40 const HitTestRequest&,
42 const WebMouseEvent&); 41 const WebMouseEvent&);
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.cpp ('k') | third_party/WebKit/Source/core/input/EventHandlingUtil.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698