OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef DOMPointReadOnly_h |
| 6 #define DOMPointReadOnly_h |
| 7 |
| 8 #include "platform/heap/Handle.h" |
| 9 |
| 10 namespace WebCore { |
| 11 |
| 12 class DOMPointReadOnly : public GarbageCollected<DOMPointReadOnly> { |
| 13 public: |
| 14 double x() const { return m_x; } |
| 15 double y() const { return m_y; } |
| 16 double z() const { return m_z; } |
| 17 double w() const { return m_w; } |
| 18 |
| 19 void trace(Visitor*) { } |
| 20 |
| 21 protected: |
| 22 DOMPointReadOnly(double x, double y, double z, double w); |
| 23 |
| 24 double m_x; |
| 25 double m_y; |
| 26 double m_z; |
| 27 double m_w; |
| 28 }; |
| 29 |
| 30 } // namespace WebCore |
| 31 |
| 32 #endif |
OLD | NEW |