OLD | NEW |
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 WebMouseWheelEvent_h | 5 #ifndef WebMouseWheelEvent_h |
6 #define WebMouseWheelEvent_h | 6 #define WebMouseWheelEvent_h |
7 | 7 |
8 #include "WebInputEvent.h" | 8 #include "WebMouseEvent.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
11 | 11 |
12 // See WebInputEvent.h for details why this pack is here. | 12 // See WebInputEvent.h for details why this pack is here. |
13 #pragma pack(push, 4) | 13 #pragma pack(push, 4) |
14 | 14 |
15 // WebMouseWheelEvent --------------------------------------------------------- | 15 // WebMouseWheelEvent --------------------------------------------------------- |
16 | 16 |
17 class WebMouseWheelEvent : public WebMouseEvent { | 17 class WebMouseWheelEvent : public WebMouseEvent { |
18 public: | 18 public: |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 BLINK_PLATFORM_EXPORT WebMouseWheelEvent flattenTransform() const; | 95 BLINK_PLATFORM_EXPORT WebMouseWheelEvent flattenTransform() const; |
96 | 96 |
97 bool isCancelable() const { return dispatchType == Blocking; } | 97 bool isCancelable() const { return dispatchType == Blocking; } |
98 #endif | 98 #endif |
99 }; | 99 }; |
100 #pragma pack(pop) | 100 #pragma pack(pop) |
101 | 101 |
102 } // namespace blink | 102 } // namespace blink |
103 | 103 |
104 #endif // WebMouseWheelEvent_h | 104 #endif // WebMouseWheelEvent_h |
OLD | NEW |