Home
last modified time | relevance | path

Searched refs:clip_layer (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/cc/layers/
Dscrollbar_layer_impl_base.cc84 LayerImpl* clip_layer = layer_tree_impl()->LayerById(clip_layer_id); in SetScrollLayerAndClipLayerByIds() local
85 if (scroll_layer_ == scroll_layer && clip_layer_ == clip_layer) in SetScrollLayerAndClipLayerByIds()
91 clip_layer_ = clip_layer; in SetScrollLayerAndClipLayerByIds()
Ddelegated_renderer_layer_impl_unittest.cc945 scoped_ptr<LayerImpl> clip_layer = in SetUpTest() local
1071 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()
/external/chromium_org/cc/blink/
Dweb_scrollbar_layer_impl.cc68 cc::Layer* clip_layer = in setClipLayer() local
70 layer_->layer()->ToScrollbarLayer()->SetClipLayer(clip_layer->id()); in setClipLayer()
Dweb_layer_impl.cc278 void WebLayerImpl::setScrollClipLayer(WebLayer* clip_layer) { in setScrollClipLayer() argument
279 if (!clip_layer) { in setScrollClipLayer()
283 layer_->SetScrollClipLayerId(clip_layer->id()); in setScrollClipLayer()
Dweb_layer_impl.h107 virtual void setScrollClipLayer(blink::WebLayer* clip_layer);
/external/chromium_org/cc/trees/
Dlayer_tree_host_impl_unittest.cc287 LayerImpl* clip_layer) { in CreateScrollableLayer() argument
288 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() local
2638 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 …]
Dlayer_tree_host_common_unittest.cc325 LayerImpl* clip_layer = clip_layer_scoped_ptr.get(); in TEST_F() local
327 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()