Home | History | Annotate | Download | only in graphics

Lines Matching refs:graphicsLayer

28 #include "platform/graphics/GraphicsLayer.h"
41 virtual void notifyAnimationStarted(const GraphicsLayer*, double monotonicTime) OVERRIDE { }
42 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPaintingPhase, const IntRect& inClip) OVERRIDE { }
43 virtual String debugName(const GraphicsLayer*) OVERRIDE { return String(); }
102 class GraphicsLayerForTesting : public GraphicsLayer {
105 : GraphicsLayer(client) { };
107 virtual blink::WebLayer* contentsLayer() const { return GraphicsLayer::contentsLayer(); }
113 OwnPtr<GraphicsLayerForTesting> graphicsLayer = adoptPtr(new GraphicsLayerForTesting(&client));
114 ASSERT_TRUE(graphicsLayer.get());
121 ASSERT_FALSE(graphicsLayer->contentsLayer());
123 graphicsLayer->setContentsToImage(opaqueImage.get());
124 ASSERT_TRUE(graphicsLayer->contentsLayer()->opaque());
126 graphicsLayer->setContentsToImage(nonOpaqueImage.get());
127 ASSERT_FALSE(graphicsLayer->contentsLayer()->opaque());