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

Unified Diff: content/renderer/scheduler/web_scheduler_impl.h

Issue 936853002: [renderer] Add support for postIdleTaskAfterWakeup to WebSchedulerImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@long_idle_2
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/renderer/scheduler/web_scheduler_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/scheduler/web_scheduler_impl.h
diff --git a/content/renderer/scheduler/web_scheduler_impl.h b/content/renderer/scheduler/web_scheduler_impl.h
index 4512d85e832bd65bbf1d06fc7b9e346d9537a579..e209c367c6257e7d20eb33aaaf7738297a61b3aa 100644
--- a/content/renderer/scheduler/web_scheduler_impl.h
+++ b/content/renderer/scheduler/web_scheduler_impl.h
@@ -29,6 +29,8 @@ class CONTENT_EXPORT WebSchedulerImpl : public blink::WebScheduler {
virtual bool shouldYieldForHighPriorityWork();
virtual void postIdleTask(const blink::WebTraceLocation& location,
blink::WebScheduler::IdleTask* task);
+ virtual void postIdleTaskAfterWakeup(const blink::WebTraceLocation& location,
+ blink::WebScheduler::IdleTask* task);
virtual void postLoadingTask(const blink::WebTraceLocation& location,
blink::WebThread::Task* task);
virtual void shutdown();
« no previous file with comments | « no previous file | content/renderer/scheduler/web_scheduler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698