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

Side by Side Diff: third_party/WebKit/Source/platform/scheduler/renderer/web_frame_scheduler_impl.h

Issue 2649063002: [DO NOT COMMIT] Set ServiceWorker initiated task highest priority
Patch Set: Created 3 years, 11 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_FRAME_SCHEDULE R_IMPL_H_ 5 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_FRAME_SCHEDULE R_IMPL_H_
6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_FRAME_SCHEDULE R_IMPL_H_ 6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_FRAME_SCHEDULE R_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 void setSuspended(bool frame_suspended) override; 43 void setSuspended(bool frame_suspended) override;
44 void setCrossOrigin(bool cross_origin) override; 44 void setCrossOrigin(bool cross_origin) override;
45 RefPtr<WebTaskRunner> loadingTaskRunner() override; 45 RefPtr<WebTaskRunner> loadingTaskRunner() override;
46 RefPtr<WebTaskRunner> timerTaskRunner() override; 46 RefPtr<WebTaskRunner> timerTaskRunner() override;
47 RefPtr<WebTaskRunner> unthrottledTaskRunner() override; 47 RefPtr<WebTaskRunner> unthrottledTaskRunner() override;
48 WebViewScheduler* webViewScheduler() override; 48 WebViewScheduler* webViewScheduler() override;
49 void didStartLoading(unsigned long identifier) override; 49 void didStartLoading(unsigned long identifier) override;
50 void didStopLoading(unsigned long identifier) override; 50 void didStopLoading(unsigned long identifier) override;
51 void setDocumentParsingInBackground(bool background_parser_active) override; 51 void setDocumentParsingInBackground(bool background_parser_active) override;
52 void onFirstMeaningfulPaint() override; 52 void onFirstMeaningfulPaint() override;
53 void setMaximumPriorityForLabTest() override;
53 54
54 void AsValueInto(base::trace_event::TracedValue* state) const; 55 void AsValueInto(base::trace_event::TracedValue* state) const;
55 56
56 private: 57 private:
57 friend class WebViewSchedulerImpl; 58 friend class WebViewSchedulerImpl;
58 59
59 void DetachFromWebViewScheduler(); 60 void DetachFromWebViewScheduler();
60 void RemoveTimerQueueFromBackgroundTimeBudgetPool(); 61 void RemoveTimerQueueFromBackgroundTimeBudgetPool();
61 void ApplyPolicyToTimerQueue(); 62 void ApplyPolicyToTimerQueue();
62 bool ShouldThrottleTimers() const; 63 bool ShouldThrottleTimers() const;
(...skipping 15 matching lines...) Expand all
78 bool frame_suspended_; 79 bool frame_suspended_;
79 bool cross_origin_; 80 bool cross_origin_;
80 81
81 DISALLOW_COPY_AND_ASSIGN(WebFrameSchedulerImpl); 82 DISALLOW_COPY_AND_ASSIGN(WebFrameSchedulerImpl);
82 }; 83 };
83 84
84 } // namespace scheduler 85 } // namespace scheduler
85 } // namespace blink 86 } // namespace blink
86 87
87 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_FRAME_SCHED ULER_IMPL_H_ 88 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_FRAME_SCHED ULER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698