Searched defs:scrollbar_layer (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/cc/trees/
H A Dlayer_tree_host_unittest_damage.cc308 scoped_refptr<Layer> scrollbar_layer = variable
310 scrollbar_layer->SetPosition(gfx::Point(300, 300));
311 scrollbar_layer->SetBounds(gfx::Size(10, 100));
312 root_layer->AddChild(scrollbar_layer);
316 gfx::RectF scrollbar_rect(scrollbar_layer->position(),
317 scrollbar_layer->bounds());
H A Dtree_synchronizer.cc14 #include "cc/layers/scrollbar_layer.h"
152 ScrollbarLayerType* scrollbar_layer = layer->ToScrollbarLayer(); local
153 if (!scrollbar_layer)
157 new_layers->find(scrollbar_layer->id());
161 iter = new_layers->find(scrollbar_layer->scroll_layer_id());
168 if (scrollbar_layer->Orientation() == HORIZONTAL)
/external/chromium_org/cc/layers/
H A Dscrollbar_layer.cc6 #include "cc/layers/scrollbar_layer.h"
105 ScrollbarLayerImpl* scrollbar_layer = static_cast<ScrollbarLayerImpl*>(layer); local
112 scrollbar_layer->SetThumbThickness(thickness_override);
115 scrollbar_layer->SetThumbThickness(bounds().height());
117 scrollbar_layer->SetThumbThickness(bounds().width());
120 scrollbar_layer->SetThumbThickness(thumb_thickness_);
122 scrollbar_layer->SetThumbLength(thumb_length_);
124 scrollbar_layer->SetTrackStart(track_rect_.x() - location_.x());
125 scrollbar_layer->SetTrackLength(track_rect_.width());
127 scrollbar_layer
[all...]
H A Dscrollbar_layer_impl.cc64 ScrollbarLayerImpl* scrollbar_layer = static_cast<ScrollbarLayerImpl*>(layer); local
66 scrollbar_layer->SetThumbThickness(thumb_thickness_);
67 scrollbar_layer->SetThumbLength(thumb_length_);
68 scrollbar_layer->SetTrackStart(track_start_);
69 scrollbar_layer->SetTrackLength(track_length_);
70 scrollbar_layer->set_is_overlay_scrollbar(is_overlay_scrollbar_);
72 scrollbar_layer->set_track_resource_id(track_resource_id_);
73 scrollbar_layer->set_thumb_resource_id(thumb_resource_id_);
H A Dscrollbar_layer_unittest.cc5 #include "cc/layers/scrollbar_layer.h"
111 scoped_refptr<Layer> scrollbar_layer = local
123 layer_tree_root->AddChild(scrollbar_layer);
425 scoped_refptr<Layer> scrollbar_layer = local
428 layer_tree_root->AddChild(scrollbar_layer);
435 scrollbar_layer->SetIsDrawable(true);
436 scrollbar_layer->SetBounds(gfx::Size(100, 100));
441 scrollbar_layer->draw_properties().content_bounds = gfx::Size(100, 200);
442 scrollbar_layer->draw_properties().visible_content_rect =
444 scrollbar_layer
497 scoped_refptr<Layer> scrollbar_layer = local
[all...]
H A Dlayer_impl.cc993 ScrollbarLayerImpl* scrollbar_layer) {
994 horizontal_scrollbar_layer_ = scrollbar_layer;
999 void LayerImpl::SetVerticalScrollbarLayer(ScrollbarLayerImpl* scrollbar_layer) { argument
1000 vertical_scrollbar_layer_ = scrollbar_layer;
992 SetHorizontalScrollbarLayer( ScrollbarLayerImpl* scrollbar_layer) argument

Completed in 101 milliseconds