Searched refs:scrollbar_layer (Results 1 – 7 of 7) sorted by relevance
125 scoped_refptr<Layer> scrollbar_layer = in TEST() local136 layer_tree_root->AddChild(scrollbar_layer); in TEST()176 scoped_refptr<FakePaintedScrollbarLayer> scrollbar_layer = in TEST() local186 root_layer->AddChild(scrollbar_layer); in TEST()189 scrollbar_layer->SetBounds(gfx::Size(70, 10)); in TEST()190 scrollbar_layer->fake_scrollbar()->set_location(gfx::Point(20, 10)); in TEST()191 scrollbar_layer->fake_scrollbar()->set_track_rect(gfx::Rect(30, 10, 50, 10)); in TEST()192 scrollbar_layer->fake_scrollbar()->set_thumb_thickness(10); in TEST()193 scrollbar_layer->fake_scrollbar()->set_thumb_length(4); in TEST()194 scrollbar_layer->UpdateThumbAndTrackGeometry(); in TEST()[all …]
112 PaintedScrollbarLayerImpl* scrollbar_layer = in PushPropertiesTo() local115 scrollbar_layer->SetThumbThickness(thumb_thickness_); in PushPropertiesTo()116 scrollbar_layer->SetThumbLength(thumb_length_); in PushPropertiesTo()118 scrollbar_layer->SetTrackStart( in PushPropertiesTo()120 scrollbar_layer->SetTrackLength(track_rect_.width()); in PushPropertiesTo()122 scrollbar_layer->SetTrackStart( in PushPropertiesTo()124 scrollbar_layer->SetTrackLength(track_rect_.height()); in PushPropertiesTo()128 scrollbar_layer->set_track_ui_resource_id(track_resource_->id()); in PushPropertiesTo()130 scrollbar_layer->set_thumb_ui_resource_id(thumb_resource_->id()); in PushPropertiesTo()132 scrollbar_layer->set_is_overlay_scrollbar(is_overlay_); in PushPropertiesTo()
53 PaintedScrollbarLayerImpl* scrollbar_layer = in PushPropertiesTo() local56 scrollbar_layer->SetThumbThickness(thumb_thickness_); in PushPropertiesTo()57 scrollbar_layer->SetThumbLength(thumb_length_); in PushPropertiesTo()58 scrollbar_layer->SetTrackStart(track_start_); in PushPropertiesTo()59 scrollbar_layer->SetTrackLength(track_length_); in PushPropertiesTo()61 scrollbar_layer->set_track_ui_resource_id(track_ui_resource_id_); in PushPropertiesTo()62 scrollbar_layer->set_thumb_ui_resource_id(thumb_ui_resource_id_); in PushPropertiesTo()
495 void SetHorizontalScrollbarLayer(ScrollbarLayerImplBase* scrollbar_layer);500 void SetVerticalScrollbarLayer(ScrollbarLayerImplBase* scrollbar_layer);
1183 ScrollbarLayerImplBase* scrollbar_layer) { in SetHorizontalScrollbarLayer() argument1184 horizontal_scrollbar_layer_ = scrollbar_layer; in SetHorizontalScrollbarLayer()1190 ScrollbarLayerImplBase* scrollbar_layer) { in SetVerticalScrollbarLayer() argument1191 vertical_scrollbar_layer_ = scrollbar_layer; in SetVerticalScrollbarLayer()
153 ScrollbarLayerType* scrollbar_layer = layer->ToScrollbarLayer(); in UpdateScrollbarLayerPointersRecursiveInternal() local154 if (!scrollbar_layer) in UpdateScrollbarLayerPointersRecursiveInternal()163 iter = new_layers->find(scrollbar_layer->ScrollLayerId()); in UpdateScrollbarLayerPointersRecursiveInternal()170 if (scrollbar_layer->orientation() == HORIZONTAL) in UpdateScrollbarLayerPointersRecursiveInternal()
438 scoped_refptr<Layer> scrollbar_layer = in SetupTree() local440 scrollbar_layer->SetPosition(gfx::Point(300, 300)); in SetupTree()441 scrollbar_layer->SetBounds(gfx::Size(10, 100)); in SetupTree()442 root_layer->AddChild(scrollbar_layer); in SetupTree()446 gfx::RectF scrollbar_rect(scrollbar_layer->position(), in SetupTree()447 scrollbar_layer->bounds()); in SetupTree()