Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / content / test / fake_renderer_scheduler.cc
blob94960dd830dd708b85217c3d919b8875947093c5
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<scheduler::TaskQueue> FakeRendererScheduler::DefaultTaskRunner() {
16 return nullptr;
19 scoped_refptr<base::SingleThreadTaskRunner>
20 FakeRendererScheduler::CompositorTaskRunner() {
21 return nullptr;
24 scoped_refptr<base::SingleThreadTaskRunner>
25 FakeRendererScheduler::LoadingTaskRunner() {
26 return nullptr;
29 scoped_refptr<scheduler::SingleThreadIdleTaskRunner>
30 FakeRendererScheduler::IdleTaskRunner() {
31 return nullptr;
34 scoped_refptr<scheduler::TaskQueue> FakeRendererScheduler::TimerTaskRunner() {
35 return nullptr;
38 void FakeRendererScheduler::WillBeginFrame(const cc::BeginFrameArgs& args) {
41 void FakeRendererScheduler::BeginFrameNotExpectedSoon() {
44 void FakeRendererScheduler::DidCommitFrameToCompositor() {
47 void FakeRendererScheduler::DidHandleInputEventOnCompositorThread(
48 const blink::WebInputEvent& web_input_event,
49 InputEventState event_state) {
52 void FakeRendererScheduler::DidHandleInputEventOnMainThread(
53 const blink::WebInputEvent& web_input_event) {
56 void FakeRendererScheduler::DidAnimateForInputOnCompositorThread() {
59 bool FakeRendererScheduler::IsHighPriorityWorkAnticipated() {
60 return false;
63 void FakeRendererScheduler::OnRendererHidden() {
66 void FakeRendererScheduler::OnRendererVisible() {
69 void FakeRendererScheduler::OnPageLoadStarted() {
72 bool FakeRendererScheduler::ShouldYieldForHighPriorityWork() {
73 return false;
76 bool FakeRendererScheduler::CanExceedIdleDeadlineIfRequired() const {
77 return false;
80 void FakeRendererScheduler::AddTaskObserver(
81 base::MessageLoop::TaskObserver* task_observer) {
84 void FakeRendererScheduler::RemoveTaskObserver(
85 base::MessageLoop::TaskObserver* task_observer) {
88 void FakeRendererScheduler::Shutdown() {
91 void FakeRendererScheduler::SuspendTimerQueue() {
94 void FakeRendererScheduler::ResumeTimerQueue() {
97 } // namespace content