summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/RenderLayerBacking.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2012-10-17 16:21:14 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2012-10-17 16:21:14 +0200
commit8995b83bcbfbb68245f779b64e5517627c6cc6ea (patch)
tree17985605dab9263cc2444bd4d45f189e142cca7c /Source/WebCore/rendering/RenderLayerBacking.h
parentb9c9652036d5e9f1e29c574f40bc73a35c81ace6 (diff)
downloadqtwebkit-8995b83bcbfbb68245f779b64e5517627c6cc6ea.tar.gz
Imported WebKit commit cf4f8fc6f19b0629f51860cb2d4b25e139d07e00 (http://svn.webkit.org/repository/webkit/trunk@131592)
New snapshot that includes the build fixes for Mac OS X 10.6 and earlier as well as the previously cherry-picked changes
Diffstat (limited to 'Source/WebCore/rendering/RenderLayerBacking.h')
-rw-r--r--Source/WebCore/rendering/RenderLayerBacking.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/Source/WebCore/rendering/RenderLayerBacking.h b/Source/WebCore/rendering/RenderLayerBacking.h
index 78232709f..c04146551 100644
--- a/Source/WebCore/rendering/RenderLayerBacking.h
+++ b/Source/WebCore/rendering/RenderLayerBacking.h
@@ -87,6 +87,9 @@ public:
bool hasScrollingLayer() const { return m_scrollingLayer; }
GraphicsLayer* scrollingLayer() const { return m_scrollingLayer.get(); }
GraphicsLayer* scrollingContentsLayer() const { return m_scrollingContentsLayer.get(); }
+
+ void attachToScrollingCoordinator();
+ uint64_t scrollLayerID() const { return m_scrollLayerID; }
bool hasMaskLayer() const { return m_maskLayer != 0; }
@@ -133,11 +136,12 @@ public:
void updateAfterWidgetResize();
void positionOverflowControlsLayers(const IntSize& offsetFromRoot);
+ bool usingTileCache() const { return m_usingTiledCacheLayer; }
+
// GraphicsLayerClient interface
virtual bool shouldUseTileCache(const GraphicsLayer*) const;
- virtual bool usingTileCache(const GraphicsLayer*) const { return m_usingTiledCacheLayer; }
virtual void notifyAnimationStarted(const GraphicsLayer*, double startTime);
- virtual void notifySyncRequired(const GraphicsLayer*);
+ virtual void notifyFlushRequired(const GraphicsLayer*);
virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPaintingPhase, const IntRect& clip);
@@ -180,7 +184,7 @@ private:
PassOwnPtr<GraphicsLayer> createGraphicsLayer(const String&);
- RenderBoxModelObject* renderer() const { return m_owningLayer->renderer(); }
+ RenderLayerModelObject* renderer() const { return m_owningLayer->renderer(); }
RenderLayerCompositor* compositor() const { return m_owningLayer->compositor(); }
void updateInternalHierarchy();
@@ -193,6 +197,8 @@ private:
bool requiresScrollCornerLayer() const;
bool updateScrollingLayers(bool scrollingLayers);
+ void detachFromScrollingCoordinator();
+
GraphicsLayerPaintingPhase paintingPhaseForPrimaryLayer() const;
IntSize contentOffsetInCompostingLayer() const;
@@ -256,6 +262,8 @@ private:
OwnPtr<GraphicsLayer> m_scrollingLayer; // only used if the layer is using composited scrolling.
OwnPtr<GraphicsLayer> m_scrollingContentsLayer; // only used if the layer is using composited scrolling.
+ uint64_t m_scrollLayerID;
+
IntRect m_compositedBounds;
bool m_artificiallyInflatedBounds; // bounds had to be made non-zero to make transform-origin work