| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2008, The Android Open Source Project | 2 * Copyright 2008, The Android Open Source Project |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * * Redistributions of source code must retain the above copyright | 7 * * Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * * Redistributions in binary form must reproduce the above copyright | 9 * * Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef TouchList_h | 26 #ifndef TouchList_h |
| 27 #define TouchList_h | 27 #define TouchList_h |
| 28 | 28 |
| 29 #include "bindings/core/v8/ScriptWrappable.h" | 29 #include "bindings/core/v8/ScriptWrappable.h" |
| 30 #include "core/CoreExport.h" | 30 #include "core/CoreExport.h" |
| 31 #include "core/dom/Touch.h" | 31 #include "core/dom/Touch.h" |
| 32 #include "platform/heap/Handle.h" | 32 #include "platform/heap/Handle.h" |
| 33 #include "wtf/RefCounted.h" | |
| 34 #include "wtf/Vector.h" | 33 #include "wtf/Vector.h" |
| 35 | 34 |
| 36 namespace blink { | 35 namespace blink { |
| 37 | 36 |
| 38 class CORE_EXPORT TouchList final : public GarbageCollected<TouchList>, public S
criptWrappable { | 37 class CORE_EXPORT TouchList final : public GarbageCollected<TouchList>, public S
criptWrappable { |
| 39 DEFINE_WRAPPERTYPEINFO(); | 38 DEFINE_WRAPPERTYPEINFO(); |
| 40 public: | 39 public: |
| 41 static RawPtr<TouchList> create() | 40 static RawPtr<TouchList> create() |
| 42 { | 41 { |
| 43 return new TouchList; | 42 return new TouchList; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 71 { | 70 { |
| 72 m_values.swap(touches); | 71 m_values.swap(touches); |
| 73 } | 72 } |
| 74 | 73 |
| 75 HeapVector<Member<Touch>> m_values; | 74 HeapVector<Member<Touch>> m_values; |
| 76 }; | 75 }; |
| 77 | 76 |
| 78 } // namespace blink | 77 } // namespace blink |
| 79 | 78 |
| 80 #endif // TouchList_h | 79 #endif // TouchList_h |
| OLD | NEW |