| 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 4d75f1772a17944f018b5b115a8c4d17acc18d43..3cb15ab2679429084830d6081f4866e43d6017ed 100644
|
| --- a/third_party/WebKit/public/platform/WebScheduler.h
|
| +++ b/third_party/WebKit/public/platform/WebScheduler.h
|
| @@ -79,12 +79,17 @@ public:
|
| // if the suspension count is zero and the current scheduler policy allows it.
|
| virtual void resumeTimerQueue() = 0;
|
|
|
| + enum class NavigatingFrameType {
|
| + kMainFrame,
|
| + kChildFrame
|
| + };
|
| +
|
| // Tells the scheduler that a navigation task is pending.
|
| // TODO(alexclarke): Long term should this be a task trait?
|
| - virtual void addPendingNavigation() = 0;
|
| + virtual void addPendingNavigation(NavigatingFrameType) = 0;
|
|
|
| // Tells the scheduler that a navigation task is no longer pending.
|
| - virtual void removePendingNavigation() = 0;
|
| + virtual void removePendingNavigation(NavigatingFrameType) = 0;
|
|
|
| // Tells the scheduler that an expected navigation was started.
|
| virtual void onNavigationStarted() = 0;
|
|
|