Home | History | Annotate | Download | only in chromium

Lines Matching refs:m_contentsLayer

106     if (m_contentsLayer)
107 m_contentsLayer->setOwner(0);
126 if (m_contentsLayer)
127 m_contentsLayer->setName("ContentsLayer for " + m_nameBase);
266 clearLayerBackgroundColor(*m_contentsLayer);
322 if (m_contentsLayer)
323 m_contentsLayer->setNeedsDisplay();
351 if (!m_contentsLayer.get() || m_contentsLayerPurpose != ContentsLayerForImage) {
354 m_contentsLayer = imageLayer;
358 ImageLayerChromium* imageLayer = static_cast<ImageLayerChromium*>(m_contentsLayer.get());
362 if (m_contentsLayer) {
366 m_contentsLayer = 0;
379 if (m_contentsLayer.get() != platformLayer) {
381 m_contentsLayer = platformLayer;
385 m_contentsLayer->setNeedsDisplay();
388 if (m_contentsLayer) {
392 m_contentsLayer = 0;
404 if (!m_contentsLayer.get() || m_contentsLayerPurpose != ContentsLayerForVideo) {
406 m_contentsLayer = layer;
414 if (m_contentsLayer) {
418 m_contentsLayer = 0;
467 } else if (m_contentsLayer) {
471 newSublayers.append(m_contentsLayer.get());
489 if (m_contentsLayer) {
493 m_layer->addSublayer(m_contentsLayer);
520 // Note that we don't resize m_contentsLayer. It's up the caller to do that.
620 if (!m_contentsLayer)
625 setLayerBackgroundColor(*m_contentsLayer, m_backgroundColor);
627 clearLayerBackgroundColor(*m_contentsLayer);
637 if (!m_contentsLayer)
640 m_contentsLayer->setPosition(FloatPoint(m_contentsRect.x(), m_contentsRect.y()));
641 m_contentsLayer->setBounds(IntSize(m_contentsRect.width(), m_contentsRect.height()));
646 if (contentsLayer == m_contentsLayer)
649 if (m_contentsLayer) {
650 m_contentsLayer->removeFromSuperlayer();
651 m_contentsLayer = 0;
655 m_contentsLayer = contentsLayer;
657 m_contentsLayer->setAnchorPoint(FloatPoint(0, 0));
661 m_layer->insertSublayer(m_contentsLayer.get(), 0);
666 setLayerBorderColor(*m_contentsLayer, Color(0, 0, 128, 180));
667 m_contentsLayer->setBorderWidth(1);