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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 , m_absoluteLocation(absoluteLocation) | 89 , m_absoluteLocation(absoluteLocation) |
90 { | 90 { |
91 ScriptWrappable::init(this); | 91 ScriptWrappable::init(this); |
92 } | 92 } |
93 | 93 |
94 PassRefPtrWillBeRawPtr<Touch> Touch::cloneWithNewTarget(EventTarget* eventTarget
) const | 94 PassRefPtrWillBeRawPtr<Touch> Touch::cloneWithNewTarget(EventTarget* eventTarget
) const |
95 { | 95 { |
96 return adoptRefWillBeNoop(new Touch(eventTarget, m_identifier, m_clientX, m_
clientY, m_screenX, m_screenY, m_pageX, m_pageY, m_radiusX, m_radiusY, m_rotatio
nAngle, m_force, m_absoluteLocation)); | 96 return adoptRefWillBeNoop(new Touch(eventTarget, m_identifier, m_clientX, m_
clientY, m_screenX, m_screenY, m_pageX, m_pageY, m_radiusX, m_radiusY, m_rotatio
nAngle, m_force, m_absoluteLocation)); |
97 } | 97 } |
98 | 98 |
| 99 void Touch::trace(Visitor* visitor) |
| 100 { |
| 101 visitor->trace(m_target); |
| 102 } |
| 103 |
99 } // namespace WebCore | 104 } // namespace WebCore |
OLD | NEW |