Home | History | Annotate | Download | only in layers

Lines Matching defs:layer_tree_host_

155     layer_tree_host_.reset(new MockLayerTreeHost(&fake_client_));
156 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(AnyNumber());
157 layer_tree_host_->SetViewportSize(gfx::Size(10, 10));
158 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
162 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
163 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(AnyNumber());
165 layer_tree_host_->SetRootLayer(NULL);
166 layer_tree_host_.reset();
169 scoped_ptr<MockLayerTreeHost> layer_tree_host_;
178 EXPECT_SET_NEEDS_COMMIT(1, layer_tree_host_->SetRootLayer(test_layer));
223 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(AnyNumber());
224 layer_tree_host_->SetRootLayer(test_layer);
227 EXPECT_CALL(*layer_tree_host_, StartRateLimiter()).Times(0);
229 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
232 EXPECT_CALL(*layer_tree_host_, StartRateLimiter());
234 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
237 EXPECT_CALL(*layer_tree_host_, StopRateLimiter());
239 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
243 EXPECT_CALL(*layer_tree_host_, StopRateLimiter());
244 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(AnyNumber());
246 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
253 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(AnyNumber());
254 layer_tree_host_->SetRootLayer(test_layer);
255 EXPECT_CALL(*layer_tree_host_, StartRateLimiter()).Times(0);
256 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
257 EXPECT_CALL(*layer_tree_host_, StartRateLimiter());
259 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
262 EXPECT_CALL(*layer_tree_host_, StopRateLimiter());
263 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(1);
264 layer_tree_host_->SetRootLayer(NULL);
265 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
294 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(AnyNumber());
295 layer_tree_host_->SetRootLayer(test_layer);
296 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
298 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(AtLeast(1));
302 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
304 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(AtLeast(1));
313 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
316 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(AtLeast(1));
324 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
327 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(AtLeast(1));
331 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
334 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(AtLeast(1));
341 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
345 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(AtLeast(1));
359 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(AnyNumber());
360 layer_tree_host_->SetRootLayer(test_layer);
361 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
364 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(AtLeast(1));
366 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
370 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(AtLeast(1));
372 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
891 layer_tree_host_.reset(new MockLayerTreeHost(&fake_client_));