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

Unified Diff: Source/WebCore/platform/graphics/PlatformLayer.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/Pattern.h ('k') | Source/WebCore/platform/graphics/ShadowBlur.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/graphics/PlatformLayer.h
diff --git a/Source/WebCore/platform/graphics/PlatformLayer.h b/Source/WebCore/platform/graphics/PlatformLayer.h
index 0097e8f9cadee1d6fee2afc448773a05a59f9930..98406fc967d64e43c2da6abbfb35b48530fef5b4 100644
--- a/Source/WebCore/platform/graphics/PlatformLayer.h
+++ b/Source/WebCore/platform/graphics/PlatformLayer.h
@@ -26,45 +26,15 @@
#ifndef PlatformLayer_h
#define PlatformLayer_h
+// FIXME: this file should go away.
#if USE(ACCELERATED_COMPOSITING)
-#if PLATFORM(MAC)
-OBJC_CLASS CALayer;
-typedef CALayer PlatformLayer;
-#elif PLATFORM(WIN)
-typedef struct _CACFLayer PlatformLayer;
-#elif PLATFORM(QT)
-namespace WebCore {
-class TextureMapperPlatformLayer;
-typedef TextureMapperPlatformLayer PlatformLayer;
-};
-#elif PLATFORM(CHROMIUM)
namespace WebKit {
class WebLayer;
}
namespace WebCore {
typedef WebKit::WebLayer PlatformLayer;
}
-#elif PLATFORM(GTK)
-#if USE(TEXTURE_MAPPER_GL)
-namespace WebCore {
-class TextureMapperPlatformLayer;
-typedef TextureMapperPlatformLayer PlatformLayer;
-};
-#elif USE(CLUTTER)
-typedef struct _ClutterActor ClutterActor;
-namespace WebCore {
-typedef ClutterActor PlatformLayer;
-};
-#endif
-#elif PLATFORM(BLACKBERRY)
-namespace WebCore {
-class LayerWebKitThread;
-typedef LayerWebKitThread PlatformLayer;
-}
-#else
-typedef void* PlatformLayer;
-#endif
#endif // USE(ACCELERATED_COMPOSITING)
« no previous file with comments | « Source/WebCore/platform/graphics/Pattern.h ('k') | Source/WebCore/platform/graphics/ShadowBlur.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698