summaryrefslogtreecommitdiffstats
path: root/cc/stubs
diff options
context:
space:
mode:
Diffstat (limited to 'cc/stubs')
-rw-r--r--cc/stubs/FloatPoint.h6
-rw-r--r--cc/stubs/FloatSize.h6
-rw-r--r--cc/stubs/IntPoint.h6
-rw-r--r--cc/stubs/IntSize.h6
-rw-r--r--cc/stubs/float_point.h58
-rw-r--r--cc/stubs/float_size.h59
-rw-r--r--cc/stubs/int_point.h47
-rw-r--r--cc/stubs/int_size.h50
8 files changed, 0 insertions, 238 deletions
diff --git a/cc/stubs/FloatPoint.h b/cc/stubs/FloatPoint.h
deleted file mode 100644
index df1fe9f..0000000
--- a/cc/stubs/FloatPoint.h
+++ /dev/null
@@ -1,6 +0,0 @@
-// Copyright 2012 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.
-
-// Temporary forwarding header
-#include "cc/stubs/float_point.h"
diff --git a/cc/stubs/FloatSize.h b/cc/stubs/FloatSize.h
deleted file mode 100644
index f5d5c4e..0000000
--- a/cc/stubs/FloatSize.h
+++ /dev/null
@@ -1,6 +0,0 @@
-// Copyright 2012 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.
-
-// Temporary forwarding header
-#include "cc/stubs/float_size.h"
diff --git a/cc/stubs/IntPoint.h b/cc/stubs/IntPoint.h
deleted file mode 100644
index d996ea8..0000000
--- a/cc/stubs/IntPoint.h
+++ /dev/null
@@ -1,6 +0,0 @@
-// Copyright 2012 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.
-
-// Temporary forwarding header
-#include "cc/stubs/int_point.h"
diff --git a/cc/stubs/IntSize.h b/cc/stubs/IntSize.h
deleted file mode 100644
index 4508c69..0000000
--- a/cc/stubs/IntSize.h
+++ /dev/null
@@ -1,6 +0,0 @@
-// Copyright 2012 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.
-
-// Temporary forwarding header
-#include "cc/stubs/int_size.h"
diff --git a/cc/stubs/float_point.h b/cc/stubs/float_point.h
deleted file mode 100644
index c5f5191..0000000
--- a/cc/stubs/float_point.h
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 2012 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 CC_STUBS_FLOATPOINT_H_
-#define CC_STUBS_FLOATPOINT_H_
-
-#include "FloatSize.h"
-#include "IntPoint.h"
-#if INSIDE_WEBKIT_BUILD
-#include "Source/WebCore/platform/graphics/FloatPoint.h"
-#else
-#include "third_party/WebKit/Source/WebCore/platform/graphics/FloatPoint.h"
-#endif
-#include "ui/gfx/point_f.h"
-
-namespace cc {
-
-class FloatPoint : public WebCore::FloatPoint {
-public:
- FloatPoint() { }
-
- FloatPoint(float width, float height)
- : WebCore::FloatPoint(width, height)
- {
- }
-
- FloatPoint(FloatSize size)
- : WebCore::FloatPoint(size)
- {
- }
-
- FloatPoint(IntPoint point)
- : WebCore::FloatPoint(point)
- {
- }
-
- FloatPoint(WebCore::IntPoint point)
- : WebCore::FloatPoint(point)
- {
- }
-
- FloatPoint(WebCore::FloatPoint point)
- : WebCore::FloatPoint(point.x(), point.y())
- {
- }
-
- explicit FloatPoint(gfx::PointF point)
- : WebCore::FloatPoint(point.x(), point.y())
- {
- }
-
- operator gfx::PointF() const { return gfx::PointF(x(), y()); }
-};
-
-}
-
-#endif
diff --git a/cc/stubs/float_size.h b/cc/stubs/float_size.h
deleted file mode 100644
index 2193ac0..0000000
--- a/cc/stubs/float_size.h
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 2012 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 CC_STUBS_FLOATSIZE_H_
-#define CC_STUBS_FLOATSIZE_H_
-
-#include "IntSize.h"
-#if INSIDE_WEBKIT_BUILD
-#include "Source/WebCore/platform/graphics/FloatSize.h"
-#else
-#include "third_party/WebKit/Source/WebCore/platform/graphics/FloatSize.h"
-#endif
-#include "ui/gfx/size_f.h"
-#include "ui/gfx/vector2d_f.h"
-
-namespace cc {
-class FloatSize : public WebCore::FloatSize {
-public:
- FloatSize() { }
-
- FloatSize(float width, float height)
- : WebCore::FloatSize(width, height)
- {
- }
-
- FloatSize(IntSize size)
- : WebCore::FloatSize(size.width(), size.height())
- {
- }
-
- FloatSize(WebCore::FloatSize size)
- : WebCore::FloatSize(size.width(), size.height())
- {
- }
-
- FloatSize(WebCore::IntSize size)
- : WebCore::FloatSize(size.width(), size.height())
- {
- }
-
- explicit FloatSize(gfx::SizeF size)
- : WebCore::FloatSize(size.width(), size.height())
- {
- }
-
- explicit FloatSize(gfx::Vector2dF vector)
- : WebCore::FloatSize(vector.x(), vector.y())
- {
- }
-
- operator gfx::SizeF() const { return gfx::SizeF(width(), height()); }
-
- operator gfx::Vector2dF() const { return gfx::Vector2dF(width(), height()); }
-};
-
-}
-
-#endif
diff --git a/cc/stubs/int_point.h b/cc/stubs/int_point.h
deleted file mode 100644
index 068c662..0000000
--- a/cc/stubs/int_point.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2012 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 CC_STUBS_INTPOINT_H_
-#define CC_STUBS_INTPOINT_H_
-
-#include "IntSize.h"
-#if INSIDE_WEBKIT_BUILD
-#include "Source/WebCore/platform/graphics/IntPoint.h"
-#else
-#include "third_party/WebKit/Source/WebCore/platform/graphics/IntPoint.h"
-#endif
-#include "ui/gfx/point.h"
-
-namespace cc {
-
-class IntPoint : public WebCore::IntPoint {
-public:
- IntPoint() { }
-
- IntPoint(int width, int height)
- : WebCore::IntPoint(width, height)
- {
- }
-
- IntPoint(IntSize size)
- : WebCore::IntPoint(size.width(), size.height())
- {
- }
-
- IntPoint(WebCore::IntPoint point)
- : WebCore::IntPoint(point.x(), point.y())
- {
- }
-
- explicit IntPoint(gfx::Point point)
- : WebCore::IntPoint(point.x(), point.y())
- {
- }
-
- operator gfx::Point() const { return gfx::Point(x(), y()); }
-};
-
-}
-
-#endif
diff --git a/cc/stubs/int_size.h b/cc/stubs/int_size.h
deleted file mode 100644
index 9e1c3e6..0000000
--- a/cc/stubs/int_size.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2012 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 CC_STUBS_INTSIZE_H_
-#define CC_STUBS_INTSIZE_H_
-
-#if INSIDE_WEBKIT_BUILD
-#include "Source/WebCore/platform/graphics/IntSize.h"
-#else
-#include "third_party/WebKit/Source/WebCore/platform/graphics/IntSize.h"
-#endif
-#include "ui/gfx/size.h"
-#include "ui/gfx/vector2d.h"
-
-namespace cc {
-
-class IntSize : public WebCore::IntSize {
-public:
- IntSize() { }
-
- IntSize(int width, int height)
- : WebCore::IntSize(width, height)
- {
- }
-
- IntSize(WebCore::IntSize size)
- : WebCore::IntSize(size.width(), size.height())
- {
-
- }
-
- explicit IntSize(gfx::Size size)
- : WebCore::IntSize(size.width(), size.height())
- {
- }
-
- explicit IntSize(gfx::Vector2d vector)
- : WebCore::IntSize(vector.x(), vector.y())
- {
- }
-
- operator gfx::Size() const { return gfx::Size(width(), height()); }
-
- operator gfx::Vector2d() const { return gfx::Vector2d(width(), height()); }
-};
-
-}
-
-#endif