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

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: Remove some comments 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
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/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/thread_task_runner_handle.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 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
1036 1032
1037 RemoteChannelImplForTest* LayerTreeTest::GetRemoteChannelImplForTest() const { 1033 RemoteChannelImplForTest* LayerTreeTest::GetRemoteChannelImplForTest() const {
1038 DCHECK(IsRemoteTest()); 1034 DCHECK(IsRemoteTest());
1039 DCHECK(remote_client_layer_tree_host_); 1035 DCHECK(remote_client_layer_tree_host_);
1040 1036
1041 return static_cast<RemoteChannelImplForTest*>( 1037 return static_cast<RemoteChannelImplForTest*>(
1042 remote_client_layer_tree_host_->proxy()); 1038 remote_client_layer_tree_host_->proxy());
1043 } 1039 }
1044 1040
1045 } // namespace cc 1041 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698