OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 "content/test/fake_renderer_scheduler.h" | 5 #include "content/test/fake_renderer_scheduler.h" |
6 | 6 |
7 #include "third_party/WebKit/public/platform/WebThread.h" | 7 #include "third_party/WebKit/public/platform/WebThread.h" |
8 | 8 |
9 namespace content { | 9 namespace content { |
10 | 10 |
11 FakeRendererScheduler::FakeRendererScheduler() { | 11 FakeRendererScheduler::FakeRendererScheduler() { |
12 } | 12 } |
13 | 13 |
14 FakeRendererScheduler::~FakeRendererScheduler() { | 14 FakeRendererScheduler::~FakeRendererScheduler() { |
15 } | 15 } |
16 | 16 |
17 scoped_ptr<blink::WebThread> FakeRendererScheduler::CreateMainThread() { | 17 std::unique_ptr<blink::WebThread> FakeRendererScheduler::CreateMainThread() { |
18 return nullptr; | 18 return nullptr; |
19 } | 19 } |
20 | 20 |
21 scoped_refptr<scheduler::TaskQueue> FakeRendererScheduler::DefaultTaskRunner() { | 21 scoped_refptr<scheduler::TaskQueue> FakeRendererScheduler::DefaultTaskRunner() { |
22 return nullptr; | 22 return nullptr; |
23 } | 23 } |
24 | 24 |
25 scoped_refptr<scheduler::TaskQueue> | 25 scoped_refptr<scheduler::TaskQueue> |
26 FakeRendererScheduler::CompositorTaskRunner() { | 26 FakeRendererScheduler::CompositorTaskRunner() { |
27 return nullptr; | 27 return nullptr; |
(...skipping 15 matching lines...) Loading... |
43 scoped_refptr<scheduler::TaskQueue> FakeRendererScheduler::NewLoadingTaskRunner( | 43 scoped_refptr<scheduler::TaskQueue> FakeRendererScheduler::NewLoadingTaskRunner( |
44 const char* name) { | 44 const char* name) { |
45 return nullptr; | 45 return nullptr; |
46 } | 46 } |
47 | 47 |
48 scoped_refptr<scheduler::TaskQueue> FakeRendererScheduler::NewTimerTaskRunner( | 48 scoped_refptr<scheduler::TaskQueue> FakeRendererScheduler::NewTimerTaskRunner( |
49 const char* name) { | 49 const char* name) { |
50 return nullptr; | 50 return nullptr; |
51 } | 51 } |
52 | 52 |
53 scoped_ptr<scheduler::RenderWidgetSchedulingState> | 53 std::unique_ptr<scheduler::RenderWidgetSchedulingState> |
54 FakeRendererScheduler::NewRenderWidgetSchedulingState() { | 54 FakeRendererScheduler::NewRenderWidgetSchedulingState() { |
55 return nullptr; | 55 return nullptr; |
56 } | 56 } |
57 | 57 |
58 void FakeRendererScheduler::WillBeginFrame(const cc::BeginFrameArgs& args) { | 58 void FakeRendererScheduler::WillBeginFrame(const cc::BeginFrameArgs& args) { |
59 } | 59 } |
60 | 60 |
61 void FakeRendererScheduler::BeginFrameNotExpectedSoon() { | 61 void FakeRendererScheduler::BeginFrameNotExpectedSoon() { |
62 } | 62 } |
63 | 63 |
(...skipping 56 matching lines...) Loading... |
120 void FakeRendererScheduler::ResumeTimerQueue() { | 120 void FakeRendererScheduler::ResumeTimerQueue() { |
121 } | 121 } |
122 | 122 |
123 void FakeRendererScheduler::SetTimerQueueSuspensionWhenBackgroundedEnabled( | 123 void FakeRendererScheduler::SetTimerQueueSuspensionWhenBackgroundedEnabled( |
124 bool enabled) {} | 124 bool enabled) {} |
125 | 125 |
126 void FakeRendererScheduler::SetTopLevelBlameContext( | 126 void FakeRendererScheduler::SetTopLevelBlameContext( |
127 base::trace_event::BlameContext* blame_context) {} | 127 base::trace_event::BlameContext* blame_context) {} |
128 | 128 |
129 } // namespace content | 129 } // namespace content |
OLD | NEW |