Lines Matching refs:layer_tree_host_
32 EXPECT_CALL(*layer_tree_host_, SetNeedsFullTreeSync()).Times((expect)); \
34 Mock::VerifyAndClearExpectations(layer_tree_host_.get()); \
66 layer_tree_host_.reset(new StrictMock<MockLayerTreeHost>(&fake_client_));
70 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
71 EXPECT_CALL(*layer_tree_host_, SetNeedsFullTreeSync()).Times(AnyNumber());
80 layer_tree_host_->SetRootLayer(NULL);
81 layer_tree_host_.reset();
115 EXPECT_CALL(*layer_tree_host_, SetNeedsFullTreeSync()).Times(AnyNumber());
116 layer_tree_host_->SetRootLayer(parent_);
125 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
135 scoped_ptr<StrictMock<MockLayerTreeHost> > layer_tree_host_;
149 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(0);
150 test_layer->SetLayerTreeHost(layer_tree_host_.get());
151 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
153 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(0);
165 EXPECT_SET_NEEDS_FULL_TREE_SYNC(1, layer_tree_host_->SetRootLayer(parent));
177 EXPECT_CALL(*layer_tree_host_, SetNeedsFullTreeSync()).Times(AtLeast(1));
182 layer_tree_host_->SetRootLayer(parent);
202 EXPECT_SET_NEEDS_FULL_TREE_SYNC(1, layer_tree_host_->SetRootLayer(parent));
237 EXPECT_SET_NEEDS_FULL_TREE_SYNC(1, layer_tree_host_->SetRootLayer(NULL));
266 EXPECT_SET_NEEDS_FULL_TREE_SYNC(1, layer_tree_host_->SetRootLayer(parent));
286 EXPECT_SET_NEEDS_FULL_TREE_SYNC(1, layer_tree_host_->SetRootLayer(NULL));
343 EXPECT_SET_NEEDS_FULL_TREE_SYNC(1, layer_tree_host_->SetRootLayer(parent));
364 EXPECT_SET_NEEDS_FULL_TREE_SYNC(1, layer_tree_host_->SetRootLayer(NULL));
372 EXPECT_SET_NEEDS_FULL_TREE_SYNC(1, layer_tree_host_->SetRootLayer(parent));
393 EXPECT_SET_NEEDS_FULL_TREE_SYNC(1, layer_tree_host_->SetRootLayer(NULL));
401 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(0);
402 EXPECT_CALL(*layer_tree_host_, SetNeedsFullTreeSync()).Times(0);
438 1, layer_tree_host_->SetRootLayer(new_parent));
447 EXPECT_SET_NEEDS_FULL_TREE_SYNC(1, layer_tree_host_->SetRootLayer(NULL));
475 EXPECT_CALL(*layer_tree_host_, SetNeedsFullTreeSync()).Times(AnyNumber());
534 1, layer_tree_host_->SetRootLayer(test_layer));
588 1, layer_tree_host_->SetRootLayer(test_layer));
641 EXPECT_CALL(*layer_tree_host_, SetNeedsFullTreeSync()).Times((AnyNumber()));
650 layer_tree_host_->SetRootLayer(test_layer));
679 layer_tree_host_->SetRootLayer(test_layer));
698 layer_tree_host_->SetRootLayer(test_layer));
716 layer_tree_host_->SetRootLayer(test_layer));
757 layer_tree_host_->SetRootLayer(test_layer));
797 layer_tree_host_->SetRootLayer(test_layer));
866 EXPECT_CALL(*layer_tree_host_, SetNeedsFullTreeSync()).Times(1);
867 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(AnyNumber());
868 layer_tree_host_->SetRootLayer(layer);
890 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
897 EXPECT_CALL(*layer_tree_host_, SetNeedsFullTreeSync()).Times(1);
898 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(AnyNumber());
899 layer_tree_host_->SetRootLayer(layer);
922 Mock::VerifyAndClearExpectations(layer_tree_host_.get());