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

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

Issue 2936023002: MouseWheelEventManager is added to handle wheel events. (Closed)
Patch Set: Created 3 years, 6 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/frame/LocalFrame.h" 8 #include "core/frame/LocalFrame.h"
9 #include "core/layout/HitTestResult.h" 9 #include "core/layout/HitTestResult.h"
10 #include "core/page/EventWithHitTestResults.h" 10 #include "core/page/EventWithHitTestResults.h"
(...skipping 25 matching lines...) Expand all
36 36
37 ContainerNode* ParentForClickEvent(const Node&); 37 ContainerNode* ParentForClickEvent(const Node&);
38 38
39 LayoutPoint ContentPointFromRootFrame(LocalFrame*, 39 LayoutPoint ContentPointFromRootFrame(LocalFrame*,
40 const IntPoint& point_in_root_frame); 40 const IntPoint& point_in_root_frame);
41 41
42 MouseEventWithHitTestResults PerformMouseEventHitTest(LocalFrame*, 42 MouseEventWithHitTestResults PerformMouseEventHitTest(LocalFrame*,
43 const HitTestRequest&, 43 const HitTestRequest&,
44 const WebMouseEvent&); 44 const WebMouseEvent&);
45 45
46 LocalFrame* SubframeForTargetNode(Node*);
47
46 class PointerEventTarget { 48 class PointerEventTarget {
47 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); 49 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
48 50
49 public: 51 public:
50 DEFINE_INLINE_TRACE() { 52 DEFINE_INLINE_TRACE() {
51 visitor->Trace(target_node); 53 visitor->Trace(target_node);
52 visitor->Trace(target_frame); 54 visitor->Trace(target_frame);
53 } 55 }
54 56
55 Member<Node> target_node; 57 Member<Node> target_node;
56 Member<LocalFrame> target_frame; 58 Member<LocalFrame> target_frame;
57 String region; 59 String region;
58 }; 60 };
59 61
60 } // namespace EventHandlingUtil 62 } // namespace EventHandlingUtil
61 63
62 } // namespace blink 64 } // namespace blink
63 65
64 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandlingUtil::PointerEventTarget); 66 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandlingUtil::PointerEventTarget);
65 67
66 #endif // EventHandlingUtil_h 68 #endif // EventHandlingUtil_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698