Bug 1936278 - Prevent search mode chiclet from being dismissed when clicking in page...
[gecko.git] / dom / ipc / CoalescedWheelData.h
blobcd322d8874b70108a2afd79545977b7dde457aaa
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef mozilla_dom_CoalescedWheelData_h
8 #define mozilla_dom_CoalescedWheelData_h
10 #include "CoalescedInputData.h"
11 #include "mozilla/MouseEvents.h"
13 namespace mozilla::dom {
15 class CoalescedWheelData final : public CoalescedInputData<WidgetWheelEvent> {
16 public:
17 void Coalesce(const WidgetWheelEvent& aEvent,
18 const ScrollableLayerGuid& aGuid,
19 const uint64_t& aInputBlockId);
21 bool CanCoalesce(const WidgetWheelEvent& aEvent,
22 const ScrollableLayerGuid& aGuid,
23 const uint64_t& aInputBlockId);
26 } // namespace mozilla::dom
28 #endif // mozilla_dom_CoalescedWheelData_h