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/renderer/scheduler/null_renderer_scheduler.h" | 5 #include "content/renderer/scheduler/null_renderer_scheduler.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/message_loop/message_loop_proxy.h" | 8 #include "base/message_loop/message_loop_proxy.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 void NullRendererScheduler::DidCommitFrameToCompositor() { | 66 void NullRendererScheduler::DidCommitFrameToCompositor() { |
67 } | 67 } |
68 | 68 |
69 void NullRendererScheduler::DidReceiveInputEventOnCompositorThread( | 69 void NullRendererScheduler::DidReceiveInputEventOnCompositorThread( |
70 blink::WebInputEvent::Type type) { | 70 blink::WebInputEvent::Type type) { |
71 } | 71 } |
72 | 72 |
73 void NullRendererScheduler::DidAnimateForInputOnCompositorThread() { | 73 void NullRendererScheduler::DidAnimateForInputOnCompositorThread() { |
74 } | 74 } |
75 | 75 |
| 76 bool NullRendererScheduler::ShouldAnticipateHighPriorityWork() { |
| 77 return false; |
| 78 } |
| 79 |
76 bool NullRendererScheduler::ShouldYieldForHighPriorityWork() { | 80 bool NullRendererScheduler::ShouldYieldForHighPriorityWork() { |
77 return false; | 81 return false; |
78 } | 82 } |
79 | 83 |
80 void NullRendererScheduler::Shutdown() { | 84 void NullRendererScheduler::Shutdown() { |
81 } | 85 } |
82 | 86 |
83 } // namespace content | 87 } // namespace content |
OLD | NEW |