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

Side by Side Diff: content/renderer/scheduler/null_renderer_scheduler.cc

Issue 847883002: Reland "Throttle resource message requests during user interaction" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pull out ThreadChecker fix 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/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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 void NullRendererScheduler::DidCommitFrameToCompositor() { 71 void NullRendererScheduler::DidCommitFrameToCompositor() {
72 } 72 }
73 73
74 void NullRendererScheduler::DidReceiveInputEventOnCompositorThread( 74 void NullRendererScheduler::DidReceiveInputEventOnCompositorThread(
75 blink::WebInputEvent::Type type) { 75 blink::WebInputEvent::Type type) {
76 } 76 }
77 77
78 void NullRendererScheduler::DidAnimateForInputOnCompositorThread() { 78 void NullRendererScheduler::DidAnimateForInputOnCompositorThread() {
79 } 79 }
80 80
81 bool NullRendererScheduler::IsHighPriorityWorkAnticipated() {
82 return false;
83 }
84
81 bool NullRendererScheduler::ShouldYieldForHighPriorityWork() { 85 bool NullRendererScheduler::ShouldYieldForHighPriorityWork() {
82 return false; 86 return false;
83 } 87 }
84 88
85 void NullRendererScheduler::Shutdown() { 89 void NullRendererScheduler::Shutdown() {
86 } 90 }
87 91
88 } // namespace content 92 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/scheduler/null_renderer_scheduler.h ('k') | content/renderer/scheduler/renderer_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698