Lines Matching defs:content_size
226 const gfx::Size& content_size) {
232 root->SetBounds(content_size);
233 root->SetContentBounds(content_size);
245 gfx::Size(content_size.width() / 2, content_size.height() / 2));
251 scroll->SetBounds(content_size);
252 scroll->SetContentBounds(content_size);
259 contents->SetBounds(content_size);
260 contents->SetContentBounds(content_size);
275 LayerImpl* SetupScrollAndContentsLayers(const gfx::Size& content_size) {
277 host_impl_->active_tree(), content_size);
1329 gfx::Size content_size(100, 100); \
1350 scroll->SetBounds(content_size); \
1351 scroll->SetContentBounds(content_size); \
1357 contents->SetBounds(content_size); \
1358 contents->SetContentBounds(content_size); \
1496 gfx::Size content_size(1000, 1000);
1510 scroll->SetBounds(content_size);
1511 scroll->SetContentBounds(content_size);
1517 contents->SetBounds(content_size);
1518 contents->SetContentBounds(content_size);
2626 gfx::Size content_size(20, 20);
2631 CreateScrollableLayer(3, content_size, root.get());
2634 CreateScrollableLayer(2, content_size, root.get());
2779 gfx::Size content_size(20, 20);
2783 CreateScrollableLayer(1, content_size, root_clip.get());
2787 CreateScrollableLayer(2, content_size, root.get());
2789 root->SetBounds(content_size);
3341 gfx::Size content_size(20, 20);
3345 CreateScrollableLayer(1, content_size, root_clip.get());
3348 CreateScrollableLayer(2, content_size, root_clip.get());
3395 gfx::Size content_size(980, 1438);
3400 CreateScrollableLayer(1, content_size, root_clip.get());
3403 CreateScrollableLayer(2, content_size, root_clip.get());
3434 gfx::Size content_size(200, 200);
3438 CreateScrollableLayer(1, content_size, root_clip.get());
3441 CreateScrollableLayer(2, content_size, root_clip.get());
5971 gfx::Size content_size(20, 20);
5975 CreateScrollableLayer(1, content_size, root_clip.get());
5978 CreateScrollableLayer(2, content_size, root_clip.get());
6084 gfx::Size content_size(20, 20);
6088 CreateScrollableLayer(1, content_size, root_clip.get());
6091 CreateScrollableLayer(2, content_size, root_clip.get());
6125 gfx::Size content_size(100, 100);
6126 SetupScrollAndContentsLayers(content_size);
6141 occluder_layer->SetBounds(content_size);
6142 occluder_layer->SetContentBounds(content_size);
6158 gfx::Size content_size(100, 100);
6159 SetupScrollAndContentsLayers(content_size);
6170 occluder_layer->SetBounds(content_size);
6171 occluder_layer->SetContentBounds(content_size);
6180 child_scroll_layer_id, content_size, child_scroll_clip.get());
6194 gfx::Size content_size(100, 100);
6195 SetupScrollAndContentsLayers(content_size);
6205 CreateScrollableLayer(child_scroll_layer_id, content_size, root);
6229 gfx::Size content_size(100, 100);
6230 SetupScrollAndContentsLayers(content_size);
6242 scroll_child->SetBounds(content_size);
6243 scroll_child->SetContentBounds(content_size);
6249 CreateScrollableLayer(invisible_scroll_layer_id, content_size, root);
6476 void SetupVirtualViewportLayers(const gfx::Size& content_size,
6512 outer_scroll->SetBounds(content_size);
6513 outer_scroll->SetContentBounds(content_size);
6519 contents->SetBounds(content_size);
6520 contents->SetContentBounds(content_size);
6538 gfx::Size content_size = gfx::Size(100, 160);
6542 SetupVirtualViewportLayers(content_size, outer_viewport, inner_viewport);