Lines Matching defs:root_layer_

279         root_layer_(ContentLayer::Create(&client_)) {
283 root_layer_->SetIsDrawable(true);
284 root_layer_->SetBounds(bounds_);
285 layer_tree_host()->SetRootLayer(root_layer_);
328 scoped_refptr<ContentLayer> root_layer_;
340 root_layer_ = Layer::Create();
341 root_layer_->SetBounds(gfx::Size(10, 20));
345 root_layer_->AddChild(scaled_layer_);
347 layer_tree_host()->SetRootLayer(root_layer_);
381 scoped_refptr<Layer> root_layer_;
395 root_layer_ = Layer::Create();
396 root_layer_->SetBounds(gfx::Size(10, 20));
401 paint_scrollbar, has_thumb, root_layer_->id());
405 root_layer_->AddChild(scrollbar_);
407 layer_tree_host()->SetRootLayer(root_layer_);
441 scoped_refptr<Layer> root_layer_;
648 root_layer_(ContentLayer::Create(&client_)) {
652 root_layer_->SetIsDrawable(true);
653 root_layer_->SetBounds(bounds_);
654 layer_tree_host()->SetRootLayer(root_layer_);
730 scoped_refptr<ContentLayer> root_layer_;
740 : root_layer_(ContentLayer::Create(&client_)) {
744 root_layer_->SetIsDrawable(true);
745 root_layer_->SetBounds(gfx::Size(50, 50));
746 layer_tree_host()->SetRootLayer(root_layer_);
753 root_layer_->AddChild(parent_layer_);
782 EXPECT_RECT_EQ(gfx::Rect(root_layer_->bounds()), root_damage_rect);
823 scoped_refptr<ContentLayer> root_layer_;
1346 : root_layer_(NoScaleContentLayer::Create(&client_)),
1354 root_layer_->AddChild(child_layer_);
1356 root_layer_->SetIsDrawable(true);
1357 root_layer_->SetBounds(gfx::Size(30, 30));
1358 root_layer_->SetAnchorPoint(gfx::PointF(0.f, 0.f));
1365 layer_tree_host()->SetRootLayer(root_layer_);
1440 scoped_refptr<NoScaleContentLayer> root_layer_;
1866 root_layer_ = FakeContentLayer::Create(&client_);
1867 root_layer_->SetBounds(gfx::Size(100, 100));
1873 root_layer_->AddChild(surface_layer1_);
1887 layer_tree_host()->SetRootLayer(root_layer_);
1928 root_layer_->SetNeedsDisplay();
1932 EXPECT_LE(2u, root_layer_->update_count());
1938 scoped_refptr<FakeContentLayer> root_layer_;
2423 : root_layer_(FakeContentLayer::Create(&client_)),
2430 root_layer_->SetBounds(gfx::Size(100, 100));
2433 root_layer_->AddChild(child_layer1_);
2434 root_layer_->AddChild(child_layer2_);
2435 layer_tree_host()->SetRootLayer(root_layer_);
2495 scoped_refptr<FakeContentLayer> root_layer_;
4072 root_layer_ = Layer::Create();
4073 root_layer_->SetAnchorPoint(gfx::PointF());
4074 root_layer_->SetPosition(gfx::Point());
4075 root_layer_->SetBounds(gfx::Size(10, 10));
4082 root_layer_->AddChild(parent_layer_);
4091 layer_tree_host()->SetRootLayer(root_layer_);
4131 scoped_refptr<Layer> root_layer_;
4145 root_layer_ = FakePictureLayer::Create(&client_);
4146 root_layer_->SetAnchorPoint(gfx::PointF());
4147 root_layer_->SetBounds(gfx::Size(10, 10));
4149 layer_tree_host()->SetRootLayer(root_layer_);
4163 EXPECT_GT(root_layer_->update_count(), 0u);
4170 scoped_refptr<FakePictureLayer> root_layer_;
4452 root_layer_ = FakeContentLayer::Create(&client_);
4453 root_layer_->SetBounds(gfx::Size(10, 10));
4454 root_layer_->SetIsDrawable(false);
4455 root_layer_->SetHaveWheelEventHandlers(true);
4456 layer_tree_host()->SetRootLayer(root_layer_);
4473 EXPECT_EQ(0u, root_layer_->update_count());
4480 scoped_refptr<FakeContentLayer> root_layer_;