Searched defs:graphicsLayer (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DImageLayerChromiumTest.cpp116 OwnPtr<GraphicsLayerForTesting> graphicsLayer = adoptPtr(new GraphicsLayerForTesting(&client)); local
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());
H A DScrollingCoordinatorChromiumTest.cpp156 GraphicsLayer* graphicsLayer = backing->graphicsLayer();
157 if (!graphicsLayer)
159 return graphicsLayer->platformLayer();
298 GraphicsLayer* graphicsLayer = layerBacking->scrollingContentsLayer(); local
299 ASSERT_EQ(layer, graphicsLayer->scrollableArea());
/external/chromium_org/third_party/WebKit/Source/web/
H A DPageOverlay.h62 WebCore::GraphicsLayer* graphicsLayer() const { return m_layer.get(); } function in class:WebKit::PageOverlay
H A DChromeClientImpl.cpp831 void ChromeClientImpl::attachRootGraphicsLayer(Frame* frame, GraphicsLayer* graphicsLayer) argument
833 m_webView->setRootGraphicsLayer(graphicsLayer);
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInspectorLayerTreeAgent.cpp56 static PassRefPtr<TypeBuilder::LayerTree::Layer> buildObjectForLayer(GraphicsLayer* graphicsLayer, int nodeId, bool forceRoot) argument
59 .setLayerId(String::number(graphicsLayer->platformLayer()->id()))
61 .setOffsetX(graphicsLayer->position().x())
62 .setOffsetY(graphicsLayer->position().y())
63 .setWidth(graphicsLayer->size().width())
64 .setHeight(graphicsLayer->size().height())
65 .setPaintCount(graphicsLayer->repaintCount());
69 if (graphicsLayer->parent() && !forceRoot)
70 layerObject->setParentLayerId(String::number(graphicsLayer->parent()->platformLayer()->id()));
75 static void maybeAddGraphicsLayer(GraphicsLayer* graphicsLayer, in argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderLayerBacking.h90 GraphicsLayer* graphicsLayer() const { return m_graphicsLayer.get(); } function in class:WebCore::RenderLayerBacking
H A DRenderLayerBacking.cpp189 OwnPtr<GraphicsLayer> graphicsLayer = GraphicsLayer::create(graphicsLayerFactory, this); local
192 graphicsLayer->setName(name);
197 graphicsLayer->setCompositingReasons(reasons);
199 return graphicsLayer.release();
449 GraphicsLayer* reflectionLayer = m_owningLayer->reflectionLayer()->backing()->graphicsLayer();
684 reflectionBacking->graphicsLayer()->setReplicatedLayerPosition(FloatPoint(layerBounds.location() - reflectionLayerBounds.location()));
1623 void RenderLayerBacking::paintContents(const GraphicsLayer* graphicsLayer, GraphicsContext& context, GraphicsLayerPaintingPhase paintingPhase, const IntRect& clip) argument
1630 if (graphicsLayer == m_graphicsLayer.get()
1631 || graphicsLayer == m_foregroundLayer.get()
1632 || graphicsLayer
1669 getCurrentTransform(const GraphicsLayer* graphicsLayer, TransformationMatrix& transform) const argument
[all...]
H A DRenderLayerCompositor.cpp559 ASSERT(backing->graphicsLayer()->replicaLayer() == layer->backing()->graphicsLayer());
560 backing->graphicsLayer()->setReplicatedByLayer(0);
1555 && !(compositingAncestorLayer->backing()->graphicsLayer()->drawsContent()
2083 void RenderLayerCompositor::paintContents(const GraphicsLayer* graphicsLayer, GraphicsContext& context, GraphicsLayerPaintingPhase, const IntRect& clip) argument
2085 if (graphicsLayer == layerForHorizontalScrollbar())
2087 else if (graphicsLayer == layerForVerticalScrollbar())
2089 else if (graphicsLayer == layerForScrollCorner()) {
2098 } else if (graphicsLayer == layerForOverhangAreas()) {
2135 static void resetTrackedRepaintRectsRecursive(GraphicsLayer* graphicsLayer) argument
2586 GraphicsLayer* graphicsLayer = layer->backing()->graphicsLayer(); local
2628 GraphicsLayer* graphicsLayer = layer->backing()->graphicsLayer(); local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/page/scrolling/
H A DScrollingCoordinator.cpp79 GraphicsLayer* graphicsLayer = scrollLayerForScrollableArea(scrollableArea); local
80 return graphicsLayer ? scrollingWebLayerForGraphicsLayer(graphicsLayer) : 0;
182 clearPositionConstraintExceptForLayer(backing->graphicsLayer(), mainLayer);
386 GraphicsLayer* graphicsLayer = backing->scrollingContentsLayer(); local
387 if (!graphicsLayer)
388 graphicsLayer = backing->graphicsLayer();
389 graphicsLayer->platformLayer()->setTouchEventHandlerRegion(webRects);
/external/chromium_org/third_party/WebKit/Source/core/platform/
H A DScrollView.cpp764 static void positionScrollbarLayer(GraphicsLayer* graphicsLayer, Scrollbar* scrollbar) argument
766 if (!graphicsLayer || !scrollbar)
770 graphicsLayer->setPosition(scrollbarRect.location());
772 if (scrollbarRect.size() == graphicsLayer->size())
775 graphicsLayer->setSize(scrollbarRect.size());
777 if (graphicsLayer->hasContentsLayer()) {
778 graphicsLayer->setContentsRect(IntRect(0, 0, scrollbarRect.width(), scrollbarRect.height()));
782 graphicsLayer->setDrawsContent(true);
783 graphicsLayer->setNeedsDisplay();
786 static void positionScrollCornerLayer(GraphicsLayer* graphicsLayer, cons argument
[all...]

Completed in 250 milliseconds