OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef MouseWheelEventManager_h | |
6 #define MouseWheelEventManager_h | |
7 | |
8 #include "core/CoreExport.h" | |
9 #include "platform/heap/Handle.h" | |
10 #include "platform/heap/Visitor.h" | |
11 #include "public/platform/WebInputEventResult.h" | |
12 | |
13 namespace blink { | |
14 | |
15 class LocalFrame; | |
16 class ScrollManager; | |
17 class WebMouseWheelEvent; | |
18 | |
19 class CORE_EXPORT MouseWheelEventManager final | |
bokan
2017/06/14 15:23:29
I don't think we need CORE_EXPORT
sahel
2017/06/14 15:56:34
Done.
| |
20 : public GarbageCollectedFinalized<MouseWheelEventManager> { | |
21 WTF_MAKE_NONCOPYABLE(MouseWheelEventManager); | |
22 | |
23 public: | |
24 explicit MouseWheelEventManager(LocalFrame&, ScrollManager&); | |
25 DECLARE_TRACE(); | |
26 | |
27 WebInputEventResult HandleWheelEvent(const WebMouseWheelEvent&); | |
28 | |
29 private: | |
30 const Member<LocalFrame> frame_; | |
31 Member<ScrollManager> scroll_manager_; | |
32 }; | |
33 | |
34 } // namespace blink | |
35 | |
36 #endif // MouseWheelEventManager_h | |
OLD | NEW |