Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Side by Side Diff: cc/test/layer_tree_test.cc

Issue 1841083007: Remove SendBeginFramesToChildren plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scheduler_output_surface_client_set_beginframesource
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/test/fake_proxy.h ('k') | cc/test/test_hooks.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/test/layer_tree_test.h" 5 #include "cc/test/layer_tree_test.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 } 364 }
365 365
366 void RequestNewOutputSurface() override { 366 void RequestNewOutputSurface() override {
367 test_hooks_->RequestNewOutputSurface(); 367 test_hooks_->RequestNewOutputSurface();
368 } 368 }
369 369
370 void DidInitializeOutputSurface() override { 370 void DidInitializeOutputSurface() override {
371 test_hooks_->DidInitializeOutputSurface(); 371 test_hooks_->DidInitializeOutputSurface();
372 } 372 }
373 373
374 void SendBeginFramesToChildren(const BeginFrameArgs& args) override {
375 test_hooks_->SendBeginFramesToChildren(args);
376 }
377
378 void DidFailToInitializeOutputSurface() override { 374 void DidFailToInitializeOutputSurface() override {
379 test_hooks_->DidFailToInitializeOutputSurface(); 375 test_hooks_->DidFailToInitializeOutputSurface();
380 RequestNewOutputSurface(); 376 RequestNewOutputSurface();
381 } 377 }
382 378
383 void WillCommit() override { test_hooks_->WillCommit(); } 379 void WillCommit() override { test_hooks_->WillCommit(); }
384 380
385 void DidCommit() override { test_hooks_->DidCommit(); } 381 void DidCommit() override { test_hooks_->DidCommit(); }
386 382
387 void DidCommitAndDrawFrame() override { 383 void DidCommitAndDrawFrame() override {
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
1037 1033
1038 RemoteChannelImplForTest* LayerTreeTest::GetRemoteChannelImplForTest() const { 1034 RemoteChannelImplForTest* LayerTreeTest::GetRemoteChannelImplForTest() const {
1039 DCHECK(IsRemoteTest()); 1035 DCHECK(IsRemoteTest());
1040 DCHECK(remote_client_layer_tree_host_); 1036 DCHECK(remote_client_layer_tree_host_);
1041 1037
1042 return static_cast<RemoteChannelImplForTest*>( 1038 return static_cast<RemoteChannelImplForTest*>(
1043 remote_client_layer_tree_host_->proxy()); 1039 remote_client_layer_tree_host_->proxy());
1044 } 1040 }
1045 1041
1046 } // namespace cc 1042 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/fake_proxy.h ('k') | cc/test/test_hooks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698