diff options
Diffstat (limited to 'WebCore/platform/graphics/android/LayerAndroid.h')
-rw-r--r-- | WebCore/platform/graphics/android/LayerAndroid.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/LayerAndroid.h b/WebCore/platform/graphics/android/LayerAndroid.h index 06f1a74..911a2f9 100644 --- a/WebCore/platform/graphics/android/LayerAndroid.h +++ b/WebCore/platform/graphics/android/LayerAndroid.h @@ -73,6 +73,13 @@ public: bool evaluateAnimations(double time) const; bool hasAnimations() const; + void calcPosition(int scrollX, int scrollY, int viewWidth, int viewHeight, + float scale, float* xPtr, float* yPtr); + + SkPicture* picture() const { return m_recordingPicture; } + const LayerAndroid* child(unsigned i) const { return m_children[i].get(); } + unsigned childCount() const { return m_children.size(); } + private: void paintChildren(int scrollX, int scrollY, |