| 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 14 matching lines...) Expand all Loading... |
| 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/TouchEventInit.h" | 33 #include "core/events/TouchEventInit.h" |
| 34 #include "core/events/UIEventWithKeyState.h" | 34 #include "core/events/UIEventWithKeyState.h" |
| 35 #include "platform/graphics/TouchAction.h" |
| 35 #include "public/platform/WebTouchEvent.h" | 36 #include "public/platform/WebTouchEvent.h" |
| 36 | 37 |
| 37 namespace blink { | 38 namespace blink { |
| 38 | 39 |
| 39 class CORE_EXPORT TouchEvent final : public UIEventWithKeyState { | 40 class CORE_EXPORT TouchEvent final : public UIEventWithKeyState { |
| 40 DEFINE_WRAPPERTYPEINFO(); | 41 DEFINE_WRAPPERTYPEINFO(); |
| 41 | 42 |
| 42 public: | 43 public: |
| 43 ~TouchEvent() override; | 44 ~TouchEvent() override; |
| 44 | 45 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 explicit TouchEventDispatchMediator(TouchEvent*); | 121 explicit TouchEventDispatchMediator(TouchEvent*); |
| 121 TouchEvent& Event() const; | 122 TouchEvent& Event() const; |
| 122 DispatchEventResult DispatchEvent(EventDispatcher&) const override; | 123 DispatchEventResult DispatchEvent(EventDispatcher&) const override; |
| 123 }; | 124 }; |
| 124 | 125 |
| 125 DEFINE_EVENT_TYPE_CASTS(TouchEvent); | 126 DEFINE_EVENT_TYPE_CASTS(TouchEvent); |
| 126 | 127 |
| 127 } // namespace blink | 128 } // namespace blink |
| 128 | 129 |
| 129 #endif // TouchEvent_h | 130 #endif // TouchEvent_h |
| OLD | NEW |