Use "= delete" for DISALLOW_COPY and DISALLOW_ASSIGN.
[chromium-blink-merge.git] / content / test / fake_renderer_scheduler.cc
blob1424706f3854e0704080b7961a64d9dfb97b9395
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<base::SingleThreadTaskRunner>
26 FakeRendererScheduler::LoadingTaskRunner() {
27 return nullptr;
30 scoped_refptr<scheduler::SingleThreadIdleTaskRunner>
31 FakeRendererScheduler::IdleTaskRunner() {
32 return nullptr;
35 scoped_refptr<base::SingleThreadTaskRunner>
36 FakeRendererScheduler::TimerTaskRunner() {
37 return nullptr;
40 void FakeRendererScheduler::WillBeginFrame(const cc::BeginFrameArgs& args) {
43 void FakeRendererScheduler::BeginFrameNotExpectedSoon() {
46 void FakeRendererScheduler::DidCommitFrameToCompositor() {
49 void FakeRendererScheduler::DidReceiveInputEventOnCompositorThread(
50 const blink::WebInputEvent& web_input_event) {
53 void FakeRendererScheduler::DidAnimateForInputOnCompositorThread() {
56 bool FakeRendererScheduler::IsHighPriorityWorkAnticipated() {
57 return false;
60 void FakeRendererScheduler::OnRendererHidden() {
63 void FakeRendererScheduler::OnRendererVisible() {
66 bool FakeRendererScheduler::ShouldYieldForHighPriorityWork() {
67 return false;
70 bool FakeRendererScheduler::CanExceedIdleDeadlineIfRequired() const {
71 return false;
74 void FakeRendererScheduler::AddTaskObserver(
75 base::MessageLoop::TaskObserver* task_observer) {
78 void FakeRendererScheduler::RemoveTaskObserver(
79 base::MessageLoop::TaskObserver* task_observer) {
82 void FakeRendererScheduler::Shutdown() {
85 void FakeRendererScheduler::SuspendTimerQueue() {
88 void FakeRendererScheduler::ResumeTimerQueue() {
91 } // namespace content