Chromium Code Reviews| 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 #include "wtf/PassRefPtr.h" | |
| 10 #include "wtf/RefCounted.h" | |
| 11 | |
| 12 namespace WebCore { | |
| 13 | |
| 14 class DOMPointReadOnly : public RefCountedWillBeGarbageCollected<DOMPointReadOnl y> { | |
|
abarth-chromium
2014/07/21 06:23:01
RefCountedWillBeGarbageCollected -> GarbageCollect
zino
2014/07/21 11:15:26
Done.
| |
| 15 public: | |
| 16 double x() const { return m_x; } | |
| 17 double y() const { return m_y; } | |
| 18 double z() const { return m_z; } | |
| 19 double w() const { return m_w; } | |
| 20 | |
| 21 void trace(Visitor*) { } | |
| 22 | |
| 23 protected: | |
| 24 DOMPointReadOnly(double x, double y, double z, double w) | |
|
abarth-chromium
2014/07/21 06:23:01
Please move to the CPP file.
zino
2014/07/21 11:15:26
Done.
| |
| 25 : m_x(x) | |
| 26 , m_y(y) | |
| 27 , m_z(z) | |
| 28 , m_w(w) | |
| 29 { | |
| 30 } | |
| 31 | |
| 32 double m_x; | |
| 33 double m_y; | |
| 34 double m_z; | |
| 35 double m_w; | |
| 36 }; | |
| 37 | |
| 38 } // namespace WebCore | |
| 39 | |
| 40 #endif | |
| OLD | NEW |