Home | History | Annotate | Download | only in win

Lines Matching refs:m_contentsLayer

141     if (m_contentsLayer)
142 m_contentsLayer->removeFromSuperlayer();
292 clearLayerBackgroundColor(m_contentsLayer.get());
354 if (!m_contentsLayer)
359 if (m_contentsLayer)
372 if (mediaLayer == m_contentsLayer)
375 m_contentsLayer = mediaLayer;
481 } else if (m_contentsLayer) {
485 newSublayers.append(m_contentsLayer.get());
503 if (m_contentsLayer) {
507 m_layer->addSublayer(m_contentsLayer);
538 // Note that we don't resize m_contentsLayer. It's up the caller to do that.
649 if (!m_contentsLayer)
654 setLayerBackgroundColor(m_contentsLayer.get(), m_backgroundColor);
656 clearLayerBackgroundColor(m_contentsLayer.get());
662 if (!m_contentsLayer.get()) {
668 m_contentsLayer = imageLayer;
669 // m_contentsLayer will be parented by updateSublayerList
674 m_contentsLayer->setMinificationFilter(WKCACFLayer::Trilinear);
675 m_contentsLayer->setContents(m_pendingContentsImage.get());
681 // m_contentsLayer will be removed via updateSublayerList.
682 m_contentsLayer = 0;
688 // Media layer was set as m_contentsLayer, and will get parented in updateSublayerList().
689 if (m_contentsLayer) {
690 setupContentsLayer(m_contentsLayer.get());
697 if (!m_contentsLayer)
707 m_contentsLayer->setPosition(point);
708 m_contentsLayer->setBounds(rect);
713 if (contentsLayer == m_contentsLayer)
716 if (m_contentsLayer) {
717 m_contentsLayer->removeFromSuperlayer();
718 m_contentsLayer = 0;
722 m_contentsLayer = contentsLayer;
730 m_contentsLayer->setTransform(flipper);
731 m_contentsLayer->setAnchorPoint(CGPointMake(0.0f, 1.0f));
733 m_contentsLayer->setAnchorPoint(CGPointMake(0.0f, 0.0f));
737 m_layer->insertSublayer(m_contentsLayer.get(), 0);
742 setLayerBorderColor(m_contentsLayer.get(), Color(0, 0, 128, 180));
743 m_contentsLayer->setBorderWidth(1.0f);