Home | History | Annotate | Download | only in ca

Lines Matching refs:m_contentsLayer

279     if (m_contentsLayer)
280 m_contentsLayer->setOwner(0);
695 if (!m_contentsLayer)
701 if (m_contentsLayer)
710 if (m_contentsLayer && mediaLayer == m_contentsLayer->platformLayer())
721 m_contentsLayer = mediaLayer ? (platformCALayer ? platformCALayer : PlatformCALayer::create(mediaLayer, this)) : 0;
730 if (m_contentsLayer && canvasLayer == m_contentsLayer->platformLayer())
734 m_contentsLayer = canvasLayer ? PlatformCALayer::create(canvasLayer, this) : 0;
751 } else if (currentLayer == m_contentsLayer) {
752 sourceLayer = m_contentsLayer.get();
916 if (m_structuralLayer || m_contentsLayer || childLayers.size() > 0) {
923 } else if (m_contentsLayer) {
927 newSublayers.append(m_contentsLayer);
944 if (m_contentsLayer) {
948 m_layer->appendSublayer(m_contentsLayer.get());
1020 // Note that we don't resize m_contentsLayer. It's up the caller to do that.
1249 if (!m_contentsLayer)
1254 m_contentsLayer->setBackgroundColor(m_backgroundColor);
1256 m_contentsLayer->setBackgroundColor(Color::transparent);
1262 if (!m_contentsLayer.get()) {
1263 m_contentsLayer = PlatformCALayer::create(PlatformCALayer::LayerTypeLayer, this);
1265 m_contentsLayer->setName("Image Layer");
1267 setupContentsLayer(m_contentsLayer.get());
1268 // m_contentsLayer will be parented by updateSublayerList
1274 m_contentsLayer->setMinificationFilter(PlatformCALayer::Trilinear);
1276 m_contentsLayer->setContents(m_pendingContentsImage.get());
1282 it->second->setContents(m_contentsLayer->contents());
1288 // m_contentsLayer will be removed via updateSublayerList.
1289 m_contentsLayer = 0;
1295 // Video layer was set as m_contentsLayer, and will get parented in updateSublayerList().
1296 if (m_contentsLayer) {
1297 setupContentsLayer(m_contentsLayer.get());
1304 // CanvasLayer was set as m_contentsLayer, and will get parented in updateSublayerList().
1305 if (m_contentsLayer) {
1306 setupContentsLayer(m_contentsLayer.get());
1307 m_contentsLayer->setNeedsDisplay();
1314 if (!m_contentsLayer)
1320 m_contentsLayer->setPosition(point);
1321 m_contentsLayer->setBounds(rect);
1561 if (m_contentsLayer)
1562 m_contentsLayer->setNeedsDisplay();
1930 return (property == AnimatedPropertyBackgroundColor) ? m_contentsLayer.get() : primaryLayer();
2166 if (!m_contentsLayerClones && m_contentsLayer)
2171 contentsLayer = findOrMakeClone(cloneID, m_contentsLayer.get(), m_contentsLayerClones.get(), cloneLevel);