Home
last modified time | relevance | path

Searched refs:root_scroll_layer (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/cc/trees/
Dlayer_tree_host_unittest_scroll.cc207 scoped_refptr<Layer> root_scroll_layer = Layer::Create(); in SetupTree() local
208 root_scroll_layer->SetScrollClipLayerId(root_layer->id()); in SetupTree()
209 root_scroll_layer->SetScrollOffset(initial_scroll_); in SetupTree()
210 root_scroll_layer->SetBounds(gfx::Size(200, 200)); in SetupTree()
211 root_scroll_layer->SetIsDrawable(true); in SetupTree()
212 root_scroll_layer->SetIsContainerForFixedPositionLayers(true); in SetupTree()
213 root_layer->AddChild(root_scroll_layer); in SetupTree()
216 root_layer, root_scroll_layer, NULL); in SetupTree()
222 Layer* root_scroll_layer = layer_tree_host()->root_layer()->children()[0]; in WillBeginMainFrame() local
228 EXPECT_VECTOR_EQ(root_scroll_layer->scroll_offset(), initial_scroll_); in WillBeginMainFrame()
[all …]
Dlayer_tree_impl.cc361 LayerImpl* root_scroll_layer = OuterViewportScrollLayer() in RootScrollLayerDeviceViewportBounds() local
364 if (!root_scroll_layer || root_scroll_layer->children().empty()) in RootScrollLayerDeviceViewportBounds()
366 LayerImpl* layer = root_scroll_layer->children()[0]; in RootScrollLayerDeviceViewportBounds()
523 LayerImpl* root_scroll_layer = OuterViewportScrollLayer() in ScrollableSize() local
526 if (!root_scroll_layer || root_scroll_layer->children().empty()) in ScrollableSize()
528 return root_scroll_layer->children()[0]->bounds(); in ScrollableSize()