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

Unified Diff: Source/core/dom/DOMPoint.h

Issue 399923002: [WIP] Implement DOMPoint of geometry interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/DOMPoint.h
diff --git a/Source/core/dom/DOMPoint.h b/Source/core/dom/DOMPoint.h
new file mode 100644
index 0000000000000000000000000000000000000000..6547b8af9e97fd06e0a2e2d1a4ac3874742049a9
--- /dev/null
+++ b/Source/core/dom/DOMPoint.h
@@ -0,0 +1,30 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef DOMPoint_h
+#define DOMPoint_h
+
+#include "core/dom/DOMPointReadOnly.h"
+
+#include "platform/heap/Handle.h"
+#include "wtf/RefCounted.h"
+
+namespace WebCore {
+
+class DOMPoint : public DOMPointReadOnly {
+public:
+ static DOMPoint* create()
+ {
+ return new DOMPoint();
+ }
+
+ virtual void trace(Visitor* v) OVERRIDE { DOMPointReadOnly::trace(v); }
+
+protected:
+ DOMPoint() { }
+};
+
+} // namespace WebCore
+
+#endif

Powered by Google App Engine
This is Rietveld 408576698