Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(652)

Side by Side Diff: content/test/fake_renderer_scheduler.cc

Issue 904633004: [cc]: Add a BeginMainFrameNotExpectedSoon signal and route it to the RendererScheduler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix mojo and webview. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 namespace content { 7 namespace content {
8 8
9 FakeRendererScheduler::FakeRendererScheduler() { 9 FakeRendererScheduler::FakeRendererScheduler() {
10 } 10 }
(...skipping 17 matching lines...) Expand all
28 } 28 }
29 29
30 scoped_refptr<SingleThreadIdleTaskRunner> 30 scoped_refptr<SingleThreadIdleTaskRunner>
31 FakeRendererScheduler::IdleTaskRunner() { 31 FakeRendererScheduler::IdleTaskRunner() {
32 return nullptr; 32 return nullptr;
33 } 33 }
34 34
35 void FakeRendererScheduler::WillBeginFrame(const cc::BeginFrameArgs& args) { 35 void FakeRendererScheduler::WillBeginFrame(const cc::BeginFrameArgs& args) {
36 } 36 }
37 37
38 void FakeRendererScheduler::BeginFrameNotExpectedSoon() {
39 }
40
38 void FakeRendererScheduler::DidCommitFrameToCompositor() { 41 void FakeRendererScheduler::DidCommitFrameToCompositor() {
39 } 42 }
40 43
41 void FakeRendererScheduler::DidReceiveInputEventOnCompositorThread( 44 void FakeRendererScheduler::DidReceiveInputEventOnCompositorThread(
42 const blink::WebInputEvent& web_input_event) { 45 const blink::WebInputEvent& web_input_event) {
43 } 46 }
44 47
45 void FakeRendererScheduler::DidAnimateForInputOnCompositorThread() { 48 void FakeRendererScheduler::DidAnimateForInputOnCompositorThread() {
46 } 49 }
47 50
48 bool FakeRendererScheduler::IsHighPriorityWorkAnticipated() { 51 bool FakeRendererScheduler::IsHighPriorityWorkAnticipated() {
49 return false; 52 return false;
50 } 53 }
51 54
52 bool FakeRendererScheduler::ShouldYieldForHighPriorityWork() { 55 bool FakeRendererScheduler::ShouldYieldForHighPriorityWork() {
53 return false; 56 return false;
54 } 57 }
55 58
56 void FakeRendererScheduler::Shutdown() { 59 void FakeRendererScheduler::Shutdown() {
57 } 60 }
58 61
59 } // namespace content 62 } // namespace content
OLDNEW
« no previous file with comments | « content/test/fake_renderer_scheduler.h ('k') | content/test/web_layer_tree_view_impl_for_testing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698