Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: Source/core/dom/Touch.h

Issue 947393002: InlinedVisitor: Migrate dom to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 double webkitRadiusY() const { return m_radius.height(); } 66 double webkitRadiusY() const { return m_radius.height(); }
67 float webkitRotationAngle() const { return m_rotationAngle; } 67 float webkitRotationAngle() const { return m_rotationAngle; }
68 float force() const { return m_force; } 68 float force() const { return m_force; }
69 float webkitForce() const { return m_force; } 69 float webkitForce() const { return m_force; }
70 70
71 // Blink-internal methods 71 // Blink-internal methods
72 const LayoutPoint& absoluteLocation() const { return m_absoluteLocation; } 72 const LayoutPoint& absoluteLocation() const { return m_absoluteLocation; }
73 const FloatPoint& screenLocation() const { return m_screenPos; } 73 const FloatPoint& screenLocation() const { return m_screenPos; }
74 PassRefPtrWillBeRawPtr<Touch> cloneWithNewTarget(EventTarget*) const; 74 PassRefPtrWillBeRawPtr<Touch> cloneWithNewTarget(EventTarget*) const;
75 75
76 void trace(Visitor*); 76 DECLARE_TRACE();
77 77
78 private: 78 private:
79 Touch(LocalFrame* frame, EventTarget* target, unsigned identifier, 79 Touch(LocalFrame* frame, EventTarget* target, unsigned identifier,
80 const FloatPoint& screenPos, const FloatPoint& pagePos, 80 const FloatPoint& screenPos, const FloatPoint& pagePos,
81 const FloatSize& radius, float rotationAngle, float force); 81 const FloatSize& radius, float rotationAngle, float force);
82 82
83 Touch(EventTarget*, unsigned identifier, const FloatPoint& clientPos, 83 Touch(EventTarget*, unsigned identifier, const FloatPoint& clientPos,
84 const FloatPoint& screenPos, const FloatPoint& pagePos, 84 const FloatPoint& screenPos, const FloatPoint& pagePos,
85 const FloatSize& radius, float rotationAngle, float force, LayoutPoint a bsoluteLocation); 85 const FloatSize& radius, float rotationAngle, float force, LayoutPoint a bsoluteLocation);
86 86
(...skipping 11 matching lines...) Expand all
98 float m_force; 98 float m_force;
99 // FIXME(rbyers): Shouldn't we be able to migrate callers to relying on scre enPos, pagePos 99 // FIXME(rbyers): Shouldn't we be able to migrate callers to relying on scre enPos, pagePos
100 // or clientPos? absoluteLocation appears to be the same as pagePos but with out browser 100 // or clientPos? absoluteLocation appears to be the same as pagePos but with out browser
101 // scale applied. 101 // scale applied.
102 LayoutPoint m_absoluteLocation; 102 LayoutPoint m_absoluteLocation;
103 }; 103 };
104 104
105 } // namespace blink 105 } // namespace blink
106 106
107 #endif // Touch_h 107 #endif // Touch_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698