Searched refs:root_scroll_layer (Results 1 – 2 of 2) sorted by relevance
211 scoped_refptr<Layer> root_scroll_layer = Layer::Create(); in SetupTree() local212 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() local233 EXPECT_VECTOR_EQ(root_scroll_layer->scroll_offset(), initial_scroll_); in WillBeginMainFrame()[all …]
372 LayerImpl* root_scroll_layer = OuterViewportScrollLayer() in RootScrollLayerDeviceViewportBounds() local375 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() local574 if (!root_scroll_layer || root_scroll_layer->children().empty()) in ScrollableSize()576 return root_scroll_layer->children()[0]->bounds(); in ScrollableSize()