Home | History | Annotate | Download | only in test

Lines Matching refs:layer_tree_host_

512   layer_tree_host_->SetLayerTreeHostClientReady();
519 layer_tree_host_ = LayerTreeHostForTesting::Create(
524 ASSERT_TRUE(layer_tree_host_);
537 if (layer_tree_host_) {
538 static_cast<LayerTreeHostForTesting*>(layer_tree_host_.get())
544 if (!layer_tree_host_->root_layer()) {
548 layer_tree_host_->SetRootLayer(root_layer);
551 gfx::Size root_bounds = layer_tree_host_->root_layer()->bounds();
553 gfx::ScaleSize(root_bounds, layer_tree_host_->device_scale_factor()));
554 layer_tree_host_->SetViewportSize(device_root_bounds);
572 if (layer_tree_host_ && proxy()->CommitPendingForTesting()) {
595 if (layer_tree_host_)
596 layer_tree_host_->SetNeedsCommit();
602 if (layer_tree_host_)
603 layer_tree_host_->SetNeedsUpdateLayers();
609 if (layer_tree_host_)
610 layer_tree_host_->SetNeedsRedraw();
616 if (layer_tree_host_)
617 layer_tree_host_->SetNeedsRedrawRect(damage_rect);
623 if (!layer_tree_host_)
626 layer_tree_host_->SetVisible(visible);
630 if (layer_tree_host_->visible() && schedule_when_set_visible_true_)
637 if (layer_tree_host_)
638 layer_tree_host_->SetNextCommitForcesRedraw();
644 if (!layer_tree_host_)
649 if (!layer_tree_host_->visible()) {
656 layer_tree_host_->Composite(now);
698 ASSERT_FALSE(layer_tree_host_.get());
746 if (layer_tree_host_ && layer_tree_host_->root_layer())
747 layer_tree_host_->root_layer()->SetLayerTreeHost(NULL);
748 layer_tree_host_.reset();