summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/GraphicsLayerClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/GraphicsLayerClient.h')
-rw-r--r--WebCore/platform/graphics/GraphicsLayerClient.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/WebCore/platform/graphics/GraphicsLayerClient.h b/WebCore/platform/graphics/GraphicsLayerClient.h
index 46382f2..8c0b7ed 100644
--- a/WebCore/platform/graphics/GraphicsLayerClient.h
+++ b/WebCore/platform/graphics/GraphicsLayerClient.h
@@ -53,13 +53,14 @@ class GraphicsLayerClient {
public:
virtual ~GraphicsLayerClient() {}
- // Callbacks for when hardware-accelerated transitions and animation started
+ // Callback for when hardware-accelerated animation started.
virtual void notifyAnimationStarted(const GraphicsLayer*, double time) = 0;
+
+ // Notification that a layer property changed that requires a subsequent call to syncCompositingState()
+ // to appear on the screen.
+ virtual void notifySyncRequired(const GraphicsLayer*) = 0;
virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPaintingPhase, const IntRect& inClip) = 0;
-
- // Return a rect for the "contents" of the graphics layer, i.e. video or image content, in GraphicsLayer coordinates.
- virtual IntRect contentsBox(const GraphicsLayer*) = 0;
};
} // namespace WebCore