| Index: third_party/WebKit/public/platform/WebScheduler.h
|
| diff --git a/third_party/WebKit/public/platform/WebScheduler.h b/third_party/WebKit/public/platform/WebScheduler.h
|
| index 122918693a863641b39726789d7690050ba2440a..ca9368b8644d6ea1542bcc64a6c255cdb8608974 100644
|
| --- a/third_party/WebKit/public/platform/WebScheduler.h
|
| +++ b/third_party/WebKit/public/platform/WebScheduler.h
|
| @@ -84,6 +84,16 @@ public:
|
| // if the suspension count is zero and the current scheduler policy allows it.
|
| virtual void resumeTimerQueue() { }
|
|
|
| + // Tells the scheduler that a navigation task is pending.
|
| + // TODO(alexclarke): Long term should this be a task trait?
|
| + virtual void addPendingNavigation() { }
|
| +
|
| + // Tells the scheduler that a navigation task is no longer pending.
|
| + virtual void removePendingNavigation() { }
|
| +
|
| + // Tells the scheduler that an expected navigation was started.
|
| + virtual void onNavigationStarted() { }
|
| +
|
| #ifdef INSIDE_BLINK
|
| // Helpers for posting bound functions as tasks.
|
| typedef Function<void(double deadlineSeconds)> IdleTask;
|
|
|