cleanup: Use ExtensionRegistryObserver in Uber
[chromium-blink-merge.git] / content / test / fake_renderer_scheduler.cc
blobe746c60d6101549ec947a548f344e541990429d8
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<SingleThreadIdleTaskRunner>
31 FakeRendererScheduler::IdleTaskRunner() {
32 return nullptr;
35 void FakeRendererScheduler::WillBeginFrame(const cc::BeginFrameArgs& args) {
38 void FakeRendererScheduler::BeginFrameNotExpectedSoon() {
41 void FakeRendererScheduler::DidCommitFrameToCompositor() {
44 void FakeRendererScheduler::DidReceiveInputEventOnCompositorThread(
45 const blink::WebInputEvent& web_input_event) {
48 void FakeRendererScheduler::DidAnimateForInputOnCompositorThread() {
51 bool FakeRendererScheduler::IsHighPriorityWorkAnticipated() {
52 return false;
55 bool FakeRendererScheduler::ShouldYieldForHighPriorityWork() {
56 return false;
59 bool FakeRendererScheduler::CanExceedIdleDeadlineIfRequired() const {
60 return false;
63 void FakeRendererScheduler::AddTaskObserver(
64 base::MessageLoop::TaskObserver* task_observer) {
67 void FakeRendererScheduler::RemoveTaskObserver(
68 base::MessageLoop::TaskObserver* task_observer) {
71 void FakeRendererScheduler::Shutdown() {
74 } // namespace content