/external/chromium_org/cc/blink/ |
web_scrollbar_layer_impl.cc | 62 cc::Layer* scroll_layer = local 64 layer_->layer()->ToScrollbarLayer()->SetScrollLayer(scroll_layer->id());
|
/external/chromium_org/cc/animation/ |
scrollbar_animation_controller_linear_fade_unittest.cc | 38 scoped_ptr<LayerImpl> scroll_layer = local 49 scroll_layer->SetScrollClipLayer(clip_layer_->id()); 50 LayerImpl* scroll_layer_ptr = scroll_layer.get(); 51 clip_layer_->AddChild(scroll_layer.Pass());
|
scrollbar_animation_controller_thinning_unittest.cc | 31 scoped_ptr<LayerImpl> scroll_layer = local 34 scroll_layer->SetScrollClipLayer(clip_layer_->id()); 35 LayerImpl* scroll_layer_ptr = scroll_layer.get(); 36 clip_layer_->AddChild(scroll_layer.Pass());
|
/external/chromium_org/cc/layers/ |
scrollbar_layer_impl_base.cc | 59 LayerImpl* scroll_layer, 61 if (!container_layer || !scroll_layer) 68 for (LayerImpl* current_layer = scroll_layer; 71 // TODO(wjmaclean) We shouldn't need to exempt the scroll_layer from the 74 current_layer == scroll_layer) 83 LayerImpl* scroll_layer = layer_tree_impl()->LayerById(scroll_layer_id); local 85 if (scroll_layer_ == scroll_layer && clip_layer_ == clip_layer) 90 scroll_layer_ = scroll_layer;
|
layer_position_constraint_unittest.cc | 41 LayerImpl* scroll_layer = root_layer->children()[0]; local 46 // We are probably not testing what is intended if the scroll_layer bounds are 48 DCHECK(!scroll_layer->bounds().IsEmpty()); 78 scoped_ptr<LayerImpl> scroll_layer = local 92 SetLayerPropertiesForTesting(scroll_layer.get(), 114 scroll_layer->SetScrollClipLayer(root->id()); 120 scroll_layer->AddChild(child.Pass()); 121 root->AddChild(scroll_layer.Pass()); 139 void SetFixedContainerSizeDelta(LayerImpl* scroll_layer, 141 DCHECK(scroll_layer); [all...] |
scrollbar_layer_unittest.cc | 134 scoped_refptr<Layer> scroll_layer = Layer::Create(); local 141 scroll_layer->SetScrollClipLayerId(layer_tree_root->id()); 142 scroll_layer->SetScrollOffset(gfx::Vector2d(10, 20)); 143 scroll_layer->SetBounds(gfx::Size(100, 200)); 147 layer_tree_root->AddChild(scroll_layer); 148 scroll_layer->AddChild(content_layer); 150 scrollbar_layer->ToScrollbarLayer()->SetScrollLayer(scroll_layer->id()); 167 scroll_layer->SetBounds(gfx::Size(1000, 2000)); 168 scroll_layer->SetScrollOffset(gfx::Vector2d(100, 200)); 169 scroll_layer->SavePaintProperties() 425 scoped_refptr<Layer> scroll_layer = Layer::Create(); local [all...] |
/external/chromium_org/cc/trees/ |
layer_tree_host_unittest_damage.cc | 440 LayerImpl* scroll_layer = scroll_clip_layer->children()[0]; variable 445 scroll_layer->SetPosition(gfx::Point(1, 1)); 446 scroll_layer->SetScrollOffset(scroll_layer->scroll_offset()); 450 scroll_layer->ScrollBy(gfx::Vector2dF(10.f, 10.f)); 454 scroll_layer->SetBounds(gfx::Size(root->bounds().width() + 60, 516 LayerImpl* scroll_layer = scroll_clip_layer->children()[0]; variable 521 scroll_layer->ScrollBy(gfx::Vector2dF(10.f, 10.f));
|
layer_tree_host_unittest_scroll.cc | 38 scoped_refptr<Layer> scroll_layer = Layer::Create(); variable 39 root_layer->AddChild(scroll_layer); 41 scroll_layer->SetBounds(gfx::Size(root_layer->bounds().width() + 100, 43 scroll_layer->SetIsDrawable(true); 44 scroll_layer->SetIsContainerForFixedPositionLayers(true); 45 scroll_layer->SetScrollClipLayerId(root_layer->id()); 46 scroll_layer->SetScrollOffset(initial_scroll_); 47 layer_tree_host()->RegisterViewportLayers(root_layer, scroll_layer, NULL); 53 Layer* scroll_layer = root->children()[0].get(); variable 55 EXPECT_VECTOR_EQ(initial_scroll_, scroll_layer->scroll_offset()) 67 LayerImpl* scroll_layer = root->children()[0]; variable 143 LayerImpl* scroll_layer = variable 406 LayerImpl* scroll_layer = root->children()[0]; variable 776 Layer* scroll_layer = root->children()[0].get(); variable 801 LayerImpl* scroll_layer = root->children()[0]; variable 905 Layer* scroll_layer = root->children()[0].get(); variable 982 LayerImpl* scroll_layer = root->children()[0]; variable 1016 scoped_refptr<Layer> scroll_layer = Layer::Create(); variable 1017 layer_tree_host()->root_layer()->AddChild(scroll_layer); variable 1024 LayerImpl* scroll_layer = root->children()[0]; variable 1189 scoped_refptr<PictureLayer> scroll_layer = local [all...] |
layer_tree_host_unittest_context.cc | 1134 scoped_refptr<Layer> scroll_layer = Layer::Create(); variable 1139 layer_tree_host()->root_layer()->AddChild(scroll_layer); variable [all...] |
layer_tree_host_common_unittest.cc | 315 LayerImpl* scroll_layer = scroll_layer_scoped_ptr.get(); local 316 SetLayerPropertiesForTesting(scroll_layer, 327 scroll_layer->SetScrollClipLayer(clip_layer->id()); 329 gfx::Size(scroll_layer->bounds().width() + kMaxScrollOffset.x(), 330 scroll_layer->bounds().height() + kMaxScrollOffset.y())); 331 scroll_layer->SetScrollClipLayer(clip_layer->id()); 332 scroll_layer->SetScrollDelta(kScrollDelta); 334 scroll_layer->AddChild(sublayer_scoped_ptr.Pass()); 350 root.get(), kDeviceScale, kPageScale, scroll_layer->parent()); 365 SetLayerPropertiesForTesting(scroll_layer, 7678 LayerImpl* scroll_layer = scroller.get(); local [all...] |
layer_tree_host_impl.cc | 2942 LayerImpl* scroll_layer = OuterViewportScrollLayer() local [all...] |
layer_tree_host_impl_unittest.cc | 240 LayerImpl* scroll_layer = scroll.get(); local 274 return scroll_layer; 278 LayerImpl* scroll_layer = CreateScrollAndContentsLayers( local 281 return scroll_layer; 561 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100)); local 570 scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100)); 578 ExpectContains(*scroll_info, scroll_layer->id(), scroll_delta); 753 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(200, 200)); local 754 EXPECT_FALSE(scroll_layer->have_scroll_event_handlers()); 766 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(200, 200)) local 848 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(200, 200)); local 914 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100)); local 1014 LayerImpl* scroll_layer = host_impl_->InnerViewportScrollLayer(); local 1157 LayerImpl* scroll_layer = host_impl_->InnerViewportScrollLayer(); local 1250 LayerImpl* scroll_layer = host_impl_->InnerViewportScrollLayer(); local 1291 LayerImpl* scroll_layer = host_impl_->InnerViewportScrollLayer(); local 2549 scoped_ptr<LayerImpl> scroll_layer = local 2644 scoped_ptr<LayerImpl> scroll_layer = local 3104 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100)); local 3146 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100)); local 3233 LayerImpl* scroll_layer = local 3363 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100)); local 3460 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100)); local 3632 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(50, 50)); local 6399 LayerImpl* scroll_layer = local 6432 LayerImpl* scroll_layer = local 6470 LayerImpl* scroll_layer = local 6505 LayerImpl* scroll_layer = local 6741 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100)); local 6798 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 200)); local 6852 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 200)); local 6918 LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 200)); local [all...] |