| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2008, The Android Open Source Project | 2 * Copyright 2008, The Android Open Source Project |
| 3 * Copyright (C) 2012 Research In Motion Limited. All rights reserved. | 3 * Copyright (C) 2012 Research In Motion Limited. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above copyright | 10 * * Redistributions in binary form must reproduce the above copyright |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #ifndef TouchEvent_h | 27 #ifndef TouchEvent_h |
| 28 #define TouchEvent_h | 28 #define TouchEvent_h |
| 29 | 29 |
| 30 #include "core/CoreExport.h" | 30 #include "core/CoreExport.h" |
| 31 #include "core/dom/TouchList.h" | 31 #include "core/dom/TouchList.h" |
| 32 #include "core/events/EventDispatchMediator.h" | 32 #include "core/events/EventDispatchMediator.h" |
| 33 #include "core/events/MouseRelatedEvent.h" | |
| 34 #include "core/events/TouchEventInit.h" | 33 #include "core/events/TouchEventInit.h" |
| 34 #include "core/events/UIEventWithKeyState.h" |
| 35 #include "public/platform/WebPointerProperties.h" | 35 #include "public/platform/WebPointerProperties.h" |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 class CORE_EXPORT TouchEvent final : public UIEventWithKeyState { | 39 class CORE_EXPORT TouchEvent final : public UIEventWithKeyState { |
| 40 DEFINE_WRAPPERTYPEINFO(); | 40 DEFINE_WRAPPERTYPEINFO(); |
| 41 | 41 |
| 42 public: | 42 public: |
| 43 ~TouchEvent() override; | 43 ~TouchEvent() override; |
| 44 | 44 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 explicit TouchEventDispatchMediator(TouchEvent*); | 140 explicit TouchEventDispatchMediator(TouchEvent*); |
| 141 TouchEvent& event() const; | 141 TouchEvent& event() const; |
| 142 DispatchEventResult dispatchEvent(EventDispatcher&) const override; | 142 DispatchEventResult dispatchEvent(EventDispatcher&) const override; |
| 143 }; | 143 }; |
| 144 | 144 |
| 145 DEFINE_EVENT_TYPE_CASTS(TouchEvent); | 145 DEFINE_EVENT_TYPE_CASTS(TouchEvent); |
| 146 | 146 |
| 147 } // namespace blink | 147 } // namespace blink |
| 148 | 148 |
| 149 #endif // TouchEvent_h | 149 #endif // TouchEvent_h |
| OLD | NEW |