base: Change DCHECK_IS_ON to a macro DCHECK_IS_ON().
[chromium-blink-merge.git] / content / test / fake_renderer_scheduler.cc
blobbbcfd206db4861bac23a3bceb4f3aed630a8385e
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/test/fake_renderer_scheduler.h"
7 namespace content {
9 FakeRendererScheduler::FakeRendererScheduler() {
12 FakeRendererScheduler::~FakeRendererScheduler() {
15 scoped_refptr<base::SingleThreadTaskRunner>
16 FakeRendererScheduler::DefaultTaskRunner() {
17 return nullptr;
20 scoped_refptr<base::SingleThreadTaskRunner>
21 FakeRendererScheduler::CompositorTaskRunner() {
22 return nullptr;
25 scoped_refptr<SingleThreadIdleTaskRunner>
26 FakeRendererScheduler::IdleTaskRunner() {
27 return nullptr;
30 void FakeRendererScheduler::WillBeginFrame(const cc::BeginFrameArgs& args) {
33 void FakeRendererScheduler::DidCommitFrameToCompositor() {
36 void FakeRendererScheduler::DidReceiveInputEventOnCompositorThread(
37 blink::WebInputEvent::Type type) {
40 void FakeRendererScheduler::DidAnimateForInputOnCompositorThread() {
43 bool FakeRendererScheduler::ShouldYieldForHighPriorityWork() {
44 return false;
47 void FakeRendererScheduler::Shutdown() {
50 } // namespace content