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 InputEvent_h | 5 #ifndef InputEvent_h |
6 #define InputEvent_h | 6 #define InputEvent_h |
7 | 7 |
8 #include "core/clipboard/DataTransfer.h" | 8 #include "core/clipboard/DataTransfer.h" |
| 9 #include "core/dom/Range.h" |
9 #include "core/dom/StaticRange.h" | 10 #include "core/dom/StaticRange.h" |
10 #include "core/events/InputEventInit.h" | 11 #include "core/events/InputEventInit.h" |
11 #include "core/events/UIEvent.h" | 12 #include "core/events/UIEvent.h" |
12 | 13 |
13 namespace blink { | 14 namespace blink { |
14 | 15 |
15 class InputEvent final : public UIEvent { | 16 class InputEvent final : public UIEvent { |
16 DEFINE_WRAPPERTYPEINFO(); | 17 DEFINE_WRAPPERTYPEINFO(); |
17 | 18 |
18 public: | 19 public: |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 explicit InputEventDispatchMediator(InputEvent*); | 128 explicit InputEventDispatchMediator(InputEvent*); |
128 InputEvent& event() const; | 129 InputEvent& event() const; |
129 DispatchEventResult dispatchEvent(EventDispatcher&) const override; | 130 DispatchEventResult dispatchEvent(EventDispatcher&) const override; |
130 }; | 131 }; |
131 | 132 |
132 DEFINE_EVENT_TYPE_CASTS(InputEvent); | 133 DEFINE_EVENT_TYPE_CASTS(InputEvent); |
133 | 134 |
134 } // namespace blink | 135 } // namespace blink |
135 | 136 |
136 #endif // InputEvent_h | 137 #endif // InputEvent_h |
OLD | NEW |