Home | History | Annotate | Download | only in tests

Lines Matching defs:graphicsLayer

28 #include "core/platform/graphics/GraphicsLayer.h"
40 virtual void notifyAnimationStarted(const GraphicsLayer*, double time) OVERRIDE { }
41 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPaintingPhase, const IntRect& inClip) OVERRIDE { }
107 class GraphicsLayerForTesting : public GraphicsLayer {
110 : GraphicsLayer(client) { };
116 OwnPtr<GraphicsLayerForTesting> graphicsLayer = adoptPtr(new GraphicsLayerForTesting(&client));
117 ASSERT_TRUE(graphicsLayer.get());
124 ASSERT_FALSE(graphicsLayer->contentsLayer());
126 graphicsLayer->setContentsToImage(opaqueImage.get());
127 ASSERT_TRUE(graphicsLayer->contentsLayer()->opaque());
129 graphicsLayer->setContentsToImage(nonOpaqueImage.get());
130 ASSERT_FALSE(graphicsLayer->contentsLayer()->opaque());