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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 , m_force(force) | 69 , m_force(force) |
70 , m_absoluteLocation(absoluteLocation) | 70 , m_absoluteLocation(absoluteLocation) |
71 { | 71 { |
72 } | 72 } |
73 | 73 |
74 PassRefPtrWillBeRawPtr<Touch> Touch::cloneWithNewTarget(EventTarget* eventTarget
) const | 74 PassRefPtrWillBeRawPtr<Touch> Touch::cloneWithNewTarget(EventTarget* eventTarget
) const |
75 { | 75 { |
76 return adoptRefWillBeNoop(new Touch(eventTarget, m_identifier, m_clientPos,
m_screenPos, m_pagePos, m_radius, m_rotationAngle, m_force, m_absoluteLocation))
; | 76 return adoptRefWillBeNoop(new Touch(eventTarget, m_identifier, m_clientPos,
m_screenPos, m_pagePos, m_radius, m_rotationAngle, m_force, m_absoluteLocation))
; |
77 } | 77 } |
78 | 78 |
79 void Touch::trace(Visitor* visitor) | 79 DEFINE_TRACE(Touch) |
80 { | 80 { |
81 visitor->trace(m_target); | 81 visitor->trace(m_target); |
82 } | 82 } |
83 | 83 |
84 } // namespace blink | 84 } // namespace blink |
OLD | NEW |