diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
commit | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (patch) | |
tree | d49911209b132da58d838efa852daf28d516df21 /WebCore/html/CanvasPattern.h | |
parent | 87eb0cb35bad8784770ebc807e6c982432e47107 (diff) | |
download | external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.zip external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.gz external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.bz2 |
Initial Contribution
Diffstat (limited to 'WebCore/html/CanvasPattern.h')
-rw-r--r-- | WebCore/html/CanvasPattern.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/WebCore/html/CanvasPattern.h b/WebCore/html/CanvasPattern.h index 4990776..d74dc8a 100644 --- a/WebCore/html/CanvasPattern.h +++ b/WebCore/html/CanvasPattern.h @@ -29,6 +29,9 @@ #include "CachedResourceClient.h" #include <wtf/RefCounted.h> +#ifdef ANDROID_CANVAS_IMPL + #include "PlatformGraphics.h" +#endif #if PLATFORM(CG) #include <wtf/RetainPtr.h> #include <ApplicationServices/ApplicationServices.h> @@ -68,6 +71,10 @@ namespace WebCore { cairo_pattern_t* createPattern(const cairo_matrix_t&); #endif +#ifdef ANDROID_CANVAS_IMPL + PlatformPattern* platformPattern(); +#endif + private: #if PLATFORM(CG) const RetainPtr<CGImageRef> m_platformImage; @@ -77,8 +84,11 @@ namespace WebCore { CachedImage* const m_cachedImage; const bool m_repeatX; const bool m_repeatY; - }; +#ifdef ANDROID_CANVAS_IMPL + PlatformPattern* m_platformPattern; +#endif + }; } // namespace WebCore #endif |