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

Unified Diff: Source/WebCore/platform/graphics/FloatRect.h

Issue 13529026: Removing a bunch of unused platform code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix whitespace and compiler error on Mac. Created 7 years, 8 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/WebCore/platform/graphics/Color.h ('k') | Source/WebCore/platform/graphics/Font.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/graphics/FloatRect.h
diff --git a/Source/WebCore/platform/graphics/FloatRect.h b/Source/WebCore/platform/graphics/FloatRect.h
index 40498d403c13795d26de7fa3c8d17eefd7383023..b8475aa6acec6cc8b34cd763e898877d1a73d2d1 100644
--- a/Source/WebCore/platform/graphics/FloatRect.h
+++ b/Source/WebCore/platform/graphics/FloatRect.h
@@ -42,20 +42,6 @@ typedef struct _NSRect NSRect;
#endif
#endif
-#if PLATFORM(QT)
-QT_BEGIN_NAMESPACE
-class QRectF;
-QT_END_NAMESPACE
-#endif
-
-#if PLATFORM(BLACKBERRY)
-namespace BlackBerry {
-namespace Platform {
-class FloatRect;
-}
-}
-#endif
-
#if USE(SKIA)
struct SkRect;
#endif
@@ -182,11 +168,6 @@ public:
void fitToPoints(const FloatPoint& p0, const FloatPoint& p1, const FloatPoint& p2);
void fitToPoints(const FloatPoint& p0, const FloatPoint& p1, const FloatPoint& p2, const FloatPoint& p3);
-#if PLATFORM(BLACKBERRY)
- FloatRect(const BlackBerry::Platform::FloatRect&);
- operator BlackBerry::Platform::FloatRect() const;
-#endif
-
#if USE(CG) || USE(SKIA_ON_MAC_CHROMIUM)
FloatRect(const CGRect&);
operator CGRect() const;
@@ -198,12 +179,6 @@ public:
operator NSRect() const;
#endif
-#if PLATFORM(QT)
- FloatRect(const QRectF&);
- operator QRectF() const;
- FloatRect normalized() const;
-#endif
-
#if USE(SKIA)
FloatRect(const SkRect&);
operator SkRect() const;
« no previous file with comments | « Source/WebCore/platform/graphics/Color.h ('k') | Source/WebCore/platform/graphics/Font.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698