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.cc211 scoped_refptr<Layer> root_scroll_layer = Layer::Create(); in SetupTree() local
212 root_scroll_layer->SetScrollClipLayerId(root_layer->id()); in SetupTree()
213 root_scroll_layer->SetScrollOffset(initial_scroll_); in SetupTree()
214 root_scroll_layer->SetBounds(gfx::Size(200, 200)); in SetupTree()
215 root_scroll_layer->SetIsDrawable(true); in SetupTree()
216 root_scroll_layer->SetIsContainerForFixedPositionLayers(true); in SetupTree()
217 root_layer->AddChild(root_scroll_layer); in SetupTree()
220 root_layer, root_scroll_layer, NULL); in SetupTree()
226 Layer* root_scroll_layer = in WillBeginMainFrame() local
233 EXPECT_VECTOR_EQ(root_scroll_layer->scroll_offset(), initial_scroll_); in WillBeginMainFrame()
[all …]
Dlayer_tree_impl.cc372 LayerImpl* root_scroll_layer = OuterViewportScrollLayer() in RootScrollLayerDeviceViewportBounds() local
375 if (!root_scroll_layer || root_scroll_layer->children().empty()) in RootScrollLayerDeviceViewportBounds()
377 LayerImpl* layer = root_scroll_layer->children()[0]; in RootScrollLayerDeviceViewportBounds()
571 LayerImpl* root_scroll_layer = OuterViewportScrollLayer() in ScrollableSize() local
574 if (!root_scroll_layer || root_scroll_layer->children().empty()) in ScrollableSize()
576 return root_scroll_layer->children()[0]->bounds(); in ScrollableSize()