summaryrefslogtreecommitdiffstats
path: root/WebCore/html/CanvasGradient.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/CanvasGradient.h')
-rw-r--r--WebCore/html/CanvasGradient.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/WebCore/html/CanvasGradient.h b/WebCore/html/CanvasGradient.h
index b6680a9..2648599 100644
--- a/WebCore/html/CanvasGradient.h
+++ b/WebCore/html/CanvasGradient.h
@@ -31,6 +31,10 @@
#include <wtf/RefCounted.h>
#include <wtf/Vector.h>
+#ifdef ANDROID_CANVAS_IMPL
+ #include "PlatformGraphics.h"
+#endif
+
#if PLATFORM(CG)
typedef struct CGShading* CGShadingRef;
#elif PLATFORM(QT)
@@ -53,6 +57,10 @@ namespace WebCore {
void getColor(float value, float* r, float* g, float* b, float* a);
+#ifdef ANDROID_CANVAS_IMPL
+ PlatformGradient* platformGradient();
+#endif
+
#if PLATFORM(CG)
CGShadingRef platformShading();
#elif PLATFORM(QT)
@@ -89,6 +97,10 @@ namespace WebCore {
#elif PLATFORM(CAIRO)
cairo_pattern_t* m_shading;
#endif
+
+#ifdef ANDROID_CANVAS_IMPL
+ PlatformGradient* m_platformGradient;
+#endif
};
} //namespace