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

Unified Diff: Source/core/frame/WebKitPoint.h

Issue 404473004: Rename DOMPoint to WebKitPoint in C++ sides. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase 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
« no previous file with comments | « Source/core/frame/LocalDOMWindow.cpp ('k') | Source/core/frame/WebKitPoint.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/WebKitPoint.h
diff --git a/Source/core/frame/DOMPoint.h b/Source/core/frame/WebKitPoint.h
similarity index 80%
rename from Source/core/frame/DOMPoint.h
rename to Source/core/frame/WebKitPoint.h
index df48cd7409715f88bf5d15e477022da2df16511a..12b4b59fad2628d7c05a3c994f662bdbef29dcd9 100644
--- a/Source/core/frame/DOMPoint.h
+++ b/Source/core/frame/WebKitPoint.h
@@ -23,8 +23,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DOMPoint_h
-#define DOMPoint_h
+#ifndef WebKitPoint_h
+#define WebKitPoint_h
#include "bindings/core/v8/ScriptWrappable.h"
#include "platform/heap/Handle.h"
@@ -33,15 +33,15 @@
namespace blink {
-class DOMPoint FINAL : public RefCountedWillBeGarbageCollected<DOMPoint>, public ScriptWrappable {
+class WebKitPoint FINAL : public RefCountedWillBeGarbageCollected<WebKitPoint>, public ScriptWrappable {
public:
- static PassRefPtrWillBeRawPtr<DOMPoint> create()
+ static PassRefPtrWillBeRawPtr<WebKitPoint> create()
{
- return adoptRefWillBeNoop(new DOMPoint());
+ return adoptRefWillBeNoop(new WebKitPoint());
}
- static PassRefPtrWillBeRawPtr<DOMPoint> create(float x, float y)
+ static PassRefPtrWillBeRawPtr<WebKitPoint> create(float x, float y)
{
- return adoptRefWillBeNoop(new DOMPoint(x, y));
+ return adoptRefWillBeNoop(new WebKitPoint(x, y));
}
float x() const { return m_x; }
@@ -53,7 +53,7 @@ public:
void trace(Visitor*) { }
private:
- DOMPoint(float x = 0, float y = 0)
+ WebKitPoint(float x = 0, float y = 0)
: m_x(x)
, m_y(y)
{
@@ -66,4 +66,4 @@ private:
} // namespace blink
-#endif // DOMPoint_h
+#endif // WebKitPoint_h
« no previous file with comments | « Source/core/frame/LocalDOMWindow.cpp ('k') | Source/core/frame/WebKitPoint.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698