Index: Source/core/svg/SVGGeometryElement.h |
diff --git a/Source/modules/vibration/testing/InternalsVibration.h b/Source/core/svg/SVGGeometryElement.h |
similarity index 79% |
copy from Source/modules/vibration/testing/InternalsVibration.h |
copy to Source/core/svg/SVGGeometryElement.h |
index 4f0cf3e84caf345464d48913c9be982f9c21cc56..09fffa51344286a035962923ccd7be83e45515d6 100644 |
--- a/Source/modules/vibration/testing/InternalsVibration.h |
+++ b/Source/core/svg/SVGGeometryElement.h |
@@ -28,22 +28,23 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef InternalsVibration_h |
-#define InternalsVibration_h |
+#ifndef SVGGeometryElement_h |
+#define SVGGeometryElement_h |
-#include "wtf/Vector.h" |
+#include "core/svg/SVGGraphicsElement.h" |
+#include "core/svg/SVGPoint.h" |
namespace WebCore { |
-class Document; |
-class Internals; |
- |
-class InternalsVibration { |
+class SVGGeometryElement : public SVGGraphicsElement { |
public: |
- static bool isVibrating(Internals*, Document*); |
- static Vector<unsigned> pendingVibrationPattern(Internals*, Document*); |
+ bool isPointInFill(const SVGPoint&) const; |
+ bool isPointInStroke(const SVGPoint&) const; |
+ |
+protected: |
+ SVGGeometryElement(const QualifiedName&, Document&, ConstructionType = CreateSVGElement); |
}; |
} // namespace WebCore |
-#endif // InternalsVibration_h |
+#endif // SVGGraphicsElement_h |