diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/android/layers/LayerAndroid.h')
-rw-r--r-- | Source/WebCore/platform/graphics/android/layers/LayerAndroid.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h b/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h index b6e5e5b..3bab5ab 100644 --- a/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h +++ b/Source/WebCore/platform/graphics/android/layers/LayerAndroid.h @@ -95,7 +95,7 @@ public: typedef enum { StandardLayer, ScrollableLayer, IFrameLayer, IFrameContentLayer, FixedBackgroundLayer, - FixedBackgroundBaseLayer, + FixedBackgroundImageLayer, ForegroundBaseLayer, CanvasLayer, BaseLayer } SubclassType; typedef enum { InvalidateNone = 0, InvalidateLayers } InvalidateFlags; @@ -113,8 +113,8 @@ public: return "IFrameContentLayer"; case LayerAndroid::FixedBackgroundLayer: return "FixedBackgroundLayer"; - case LayerAndroid::FixedBackgroundBaseLayer: - return "FixedBackgroundBaseLayer"; + case LayerAndroid::FixedBackgroundImageLayer: + return "FixedBackgroundImageLayer"; case LayerAndroid::ForegroundBaseLayer: return "ForegroundBaseLayer"; case LayerAndroid::CanvasLayer: @@ -315,15 +315,22 @@ private: bool m_backfaceVisibility; bool m_visible; +protected: SkColor m_backgroundColor; +private: + bool m_preserves3D; float m_anchorPointZ; float m_drawOpacity; bool m_isPositionAbsolute; + +protected: FixedPositioning* m_fixedPosition; +private: + typedef HashMap<pair<String, int>, RefPtr<AndroidAnimation> > KeyframesMap; KeyframesMap m_animations; @@ -345,8 +352,12 @@ private: // We do this as if the layer only contains an image, directly compositing // it is a much faster method than using m_content. LayerContent* m_content; + +protected: unsigned m_imageCRC; +private: + // used to signal the framework we need a repaint bool m_hasRunningAnimations; |