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

Unified Diff: Source/core/svg/SVGGeometryElement.h

Issue 62943002: Implement SVGGeometryElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add SVGGeometryElement in expected results Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGEllipseElement.idl ('k') | Source/core/svg/SVGGeometryElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/svg/SVGEllipseElement.idl ('k') | Source/core/svg/SVGGeometryElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698