Searched refs:clip_layer (Results 1 – 7 of 7) sorted by relevance
84 LayerImpl* clip_layer = layer_tree_impl()->LayerById(clip_layer_id); in SetScrollLayerAndClipLayerByIds() local85 if (scroll_layer_ == scroll_layer && clip_layer_ == clip_layer) in SetScrollLayerAndClipLayerByIds()91 clip_layer_ = clip_layer; in SetScrollLayerAndClipLayerByIds()
945 scoped_ptr<LayerImpl> clip_layer = in SetUpTest() local1071 clip_layer->SetPosition(clip_rect.origin()); in SetUpTest()1072 clip_layer->SetBounds(clip_rect.size()); in SetUpTest()1073 clip_layer->SetContentBounds(clip_rect.size()); in SetUpTest()1074 clip_layer->SetMasksToBounds(true); in SetUpTest()1080 clip_layer->AddChild(origin_layer.Pass()); in SetUpTest()1081 root_layer->AddChild(clip_layer.Pass()); in SetUpTest()
68 cc::Layer* clip_layer = in setClipLayer() local70 layer_->layer()->ToScrollbarLayer()->SetClipLayer(clip_layer->id()); in setClipLayer()
278 void WebLayerImpl::setScrollClipLayer(WebLayer* clip_layer) { in setScrollClipLayer() argument279 if (!clip_layer) { in setScrollClipLayer()283 layer_->SetScrollClipLayerId(clip_layer->id()); in setScrollClipLayer()
107 virtual void setScrollClipLayer(blink::WebLayer* clip_layer);
287 LayerImpl* clip_layer) { in CreateScrollableLayer() argument288 DCHECK(clip_layer); in CreateScrollableLayer()289 DCHECK(id != clip_layer->id()); in CreateScrollableLayer()292 layer->SetScrollClipLayer(clip_layer->id()); in CreateScrollableLayer()296 clip_layer->SetBounds(gfx::Size(size.width() / 2, size.height() / 2)); in CreateScrollableLayer()2635 scoped_ptr<LayerImpl> clip_layer = in TEST_F() local2638 CreateScrollableLayer(1, surface_size, clip_layer.get()); in TEST_F()2645 CreateScrollableLayer(2, surface_size, clip_layer.get()); in TEST_F()2647 clip_layer->AddChild(scroll_layer.Pass()); in TEST_F()2649 host_impl_->active_tree()->SetRootLayer(clip_layer.Pass()); in TEST_F()[all …]
325 LayerImpl* clip_layer = clip_layer_scoped_ptr.get(); in TEST_F() local327 scroll_layer->SetScrollClipLayer(clip_layer->id()); in TEST_F()328 clip_layer->SetBounds( in TEST_F()331 scroll_layer->SetScrollClipLayer(clip_layer->id()); in TEST_F()336 clip_layer->AddChild(scroll_layer_scoped_ptr.Pass()); in TEST_F()