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

Unified Diff: Source/core/loader/FrameFetchContext.cpp

Issue 1246493002: Fix Resource Priorities and Scheduling (Blink Side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 5 years, 4 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 | « Source/core/loader/FrameFetchContext.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/FrameFetchContext.cpp
diff --git a/Source/core/loader/FrameFetchContext.cpp b/Source/core/loader/FrameFetchContext.cpp
index 226cec882ad1009ff374d4543a9bd7c0ec745e1e..9777c19c71ef2d4d4099050f06e3b73fcdb770ba 100644
--- a/Source/core/loader/FrameFetchContext.cpp
+++ b/Source/core/loader/FrameFetchContext.cpp
@@ -675,6 +675,27 @@ bool FrameFetchContext::isLowPriorityIframe() const
return !frame()->isMainFrame() && frame()->settings() && frame()->settings()->lowPriorityIframes();
}
+bool FrameFetchContext::fetchDeferLateScripts() const
+{
+ return frame()->settings() && frame()->settings()->fetchDeferLateScripts();
+}
+
+bool FrameFetchContext::fetchIncreaseFontPriority() const
+{
+ return frame()->settings() && frame()->settings()->fetchIncreaseFontPriority();
+}
+
+bool FrameFetchContext::fetchIncreaseAsyncScriptPriority() const
+{
+ return frame()->settings() && frame()->settings()->fetchIncreaseAsyncScriptPriority();
+}
+
+bool FrameFetchContext::fetchIncreasePriorities() const
+{
+ return frame()->settings() && frame()->settings()->fetchIncreasePriorities();
+}
+
+
DEFINE_TRACE(FrameFetchContext)
{
visitor->trace(m_document);
« no previous file with comments | « Source/core/loader/FrameFetchContext.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698