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

Unified Diff: Source/WebCore/platform/graphics/Color.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/BitmapImage.cpp ('k') | Source/WebCore/platform/graphics/FloatRect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/graphics/Color.h
diff --git a/Source/WebCore/platform/graphics/Color.h b/Source/WebCore/platform/graphics/Color.h
index 31b9f4aa8147d4390896f78c3d454875f186b548..a776f0322a0f6d010423023f1fa079a026648033 100644
--- a/Source/WebCore/platform/graphics/Color.h
+++ b/Source/WebCore/platform/graphics/Color.h
@@ -36,20 +36,6 @@
typedef struct CGColor* CGColorRef;
#endif
-#if PLATFORM(QT)
-#include <qglobal.h>
-QT_BEGIN_NAMESPACE
-class QColor;
-QT_END_NAMESPACE
-#endif
-
-#if PLATFORM(GTK)
-typedef struct _GdkColor GdkColor;
-#ifndef GTK_API_VERSION_2
-typedef struct _GdkRGBA GdkRGBA;
-#endif
-#endif
-
namespace WebCore {
class Color;
@@ -129,20 +115,6 @@ public:
Color blend(const Color&) const;
Color blendWithWhite() const;
-#if PLATFORM(QT)
- Color(const QColor&);
- operator QColor() const;
-#endif
-
-#if PLATFORM(GTK)
- Color(const GdkColor&);
- // We can't sensibly go back to GdkColor without losing the alpha value
-#ifndef GTK_API_VERSION_2
- Color(const GdkRGBA&);
- operator GdkRGBA() const;
-#endif
-#endif
-
#if USE(CG)
Color(CGColorRef);
#endif
« no previous file with comments | « Source/WebCore/platform/graphics/BitmapImage.cpp ('k') | Source/WebCore/platform/graphics/FloatRect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698