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

Unified Diff: third_party/WebKit/Source/core/dom/DOMPointReadOnly.h

Issue 2586083002: Adding fromPoint to DOMPoint and DOMPointReadOnly interfaces following spec. (Closed)
Patch Set: Adding fromPoint to DOMPoint and DOMPointReadOnly interfaces following spec. Created 4 years 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: third_party/WebKit/Source/core/dom/DOMPointReadOnly.h
diff --git a/third_party/WebKit/Source/core/dom/DOMPointReadOnly.h b/third_party/WebKit/Source/core/dom/DOMPointReadOnly.h
index 0c2f98a23c44a5607b1e9c6722b6dc9ec42111ca..0a8a5198cfa08d03a7f80bb8517dca395ce75217 100644
--- a/third_party/WebKit/Source/core/dom/DOMPointReadOnly.h
+++ b/third_party/WebKit/Source/core/dom/DOMPointReadOnly.h
@@ -11,12 +11,15 @@
namespace blink {
+class DOMPointInit;
+
class CORE_EXPORT DOMPointReadOnly : public GarbageCollected<DOMPointReadOnly>,
public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
static DOMPointReadOnly* create(double x, double y, double z, double w);
+ static DOMPointReadOnly* fromPoint(const DOMPointInit&);
double x() const { return m_x; }
double y() const { return m_y; }
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMPoint.idl ('k') | third_party/WebKit/Source/core/dom/DOMPointReadOnly.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698