Chromium Code Reviews| Index: third_party/WebKit/Source/core/input/MouseWheelEventManager.h |
| diff --git a/third_party/WebKit/Source/core/input/MouseWheelEventManager.h b/third_party/WebKit/Source/core/input/MouseWheelEventManager.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..dc0fef2ff20ffe163215733ae7581c2ebde233de |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/core/input/MouseWheelEventManager.h |
| @@ -0,0 +1,36 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef MouseWheelEventManager_h |
| +#define MouseWheelEventManager_h |
| + |
| +#include "core/CoreExport.h" |
| +#include "platform/heap/Handle.h" |
| +#include "platform/heap/Visitor.h" |
| +#include "public/platform/WebInputEventResult.h" |
| + |
| +namespace blink { |
| + |
| +class LocalFrame; |
| +class ScrollManager; |
| +class WebMouseWheelEvent; |
| + |
| +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.
|
| + : public GarbageCollectedFinalized<MouseWheelEventManager> { |
| + WTF_MAKE_NONCOPYABLE(MouseWheelEventManager); |
| + |
| + public: |
| + explicit MouseWheelEventManager(LocalFrame&, ScrollManager&); |
| + DECLARE_TRACE(); |
| + |
| + WebInputEventResult HandleWheelEvent(const WebMouseWheelEvent&); |
| + |
| + private: |
| + const Member<LocalFrame> frame_; |
| + Member<ScrollManager> scroll_manager_; |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // MouseWheelEventManager_h |