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

Unified Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

Issue 2053573002: Speculatively launch Service Workers on mouse/touch events. [5/5] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/evnets/events/ Created 4 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
Index: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
diff --git a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
index 881e5b4c99d3ee63b4f97c63ff0bbfa27b914463..6b3569d4f1595fe6f9c371cc59fface09e4dfce2 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -230,6 +230,11 @@ void WebRuntimeFeatures::enableSlimmingPaintV2(bool enable)
RuntimeEnabledFeatures::setSlimmingPaintV2Enabled(enable);
}
+void WebRuntimeFeatures::enableSpeculativeLaunchServiceWorker(bool enable)
+{
+ RuntimeEnabledFeatures::setSpeculativeLaunchServiceWorkerEnabled(enable);
+}
+
void WebRuntimeFeatures::enableTouch(bool enable)
{
RuntimeEnabledFeatures::setTouchEnabled(enable);
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698