diff options
author | John Reck <jreck@google.com> | 2012-03-19 13:10:25 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2012-03-23 13:24:43 -0700 |
commit | 5fc5e1f3883ecadd4fd00df28225a17d7d3a37e9 (patch) | |
tree | 15d283973e858fc589c7fbe4af34e27684194e94 /Source/WebCore/platform/graphics/Gradient.h | |
parent | a83257eb9d324048471edcf2974b54c20894a940 (diff) | |
download | external_webkit-5fc5e1f3883ecadd4fd00df28225a17d7d3a37e9.zip external_webkit-5fc5e1f3883ecadd4fd00df28225a17d7d3a37e9.tar.gz external_webkit-5fc5e1f3883ecadd4fd00df28225a17d7d3a37e9.tar.bz2 |
Platform graphics refactor
Push the bulk of the work to PlatformGraphicsContext
PlatformGraphicsContext does not depend on having a GraphicsContext
Get ImageAndroid::drawPattern off of mCanvas
Get BitmapImage::draw off of mCanvas
Get WebFrameView off of mCanvas
Cleanup GradientAndroid and remove mCanvas usage
Change-Id: I3c8ad10c030cbc384436463e197ca1c0a69d34eb
Diffstat (limited to 'Source/WebCore/platform/graphics/Gradient.h')
-rw-r--r-- | Source/WebCore/platform/graphics/Gradient.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/WebCore/platform/graphics/Gradient.h b/Source/WebCore/platform/graphics/Gradient.h index 7595896..ec22efe 100644 --- a/Source/WebCore/platform/graphics/Gradient.h +++ b/Source/WebCore/platform/graphics/Gradient.h @@ -58,14 +58,9 @@ typedef QGradient* PlatformGradient; typedef struct _cairo_pattern cairo_pattern_t; typedef cairo_pattern_t* PlatformGradient; #elif USE(SKIA) -#if PLATFORM(ANDROID) -#include "SkShader.h" -typedef class PlatformGradientRec* PlatformGradient; -#else class SkShader; typedef class SkShader* PlatformGradient; typedef class SkShader* PlatformPattern; -#endif #elif PLATFORM(HAIKU) class BGradient; typedef BGradient* PlatformGradient; @@ -116,9 +111,6 @@ namespace WebCore { #if OS(WINCE) && !PLATFORM(QT) const Vector<ColorStop, 2>& getStops() const; #else -#if PLATFORM(ANDROID) - SkShader* getShader(SkShader::TileMode); -#endif PlatformGradient platformGradient(); #endif |