| Index: Source/platform/scheduler/Scheduler.h
|
| diff --git a/Source/platform/scheduler/Scheduler.h b/Source/platform/scheduler/Scheduler.h
|
| index f20878c36fe27e297fab24a8c3c0ff689b7067f9..a18621d0e3705e7d592434b7b4ad09e961158f18 100644
|
| --- a/Source/platform/scheduler/Scheduler.h
|
| +++ b/Source/platform/scheduler/Scheduler.h
|
| @@ -30,6 +30,11 @@ public:
|
| // for an arbitrarily long time if no idle time is available.
|
| void postIdleTask(const WebTraceLocation&, PassOwnPtr<IdleTask>);
|
|
|
| + // Like postIdleTask but does not run the idle task until after some other
|
| + // task has run. This enables posting of a task which won't stop the Blink
|
| + // main thread from sleeping, but will start running after it wakes up.
|
| + void postIdleTaskAfterWakeup(const WebTraceLocation&, PassOwnPtr<IdleTask>);
|
| +
|
| // For tasks related to loading, e.g. HTML parsing. Loading tasks usually have default priority
|
| // but they may be deprioritized when the user is interacting with the device.
|
| // Takes ownership of |WebThread::Task|.
|
|
|