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

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

Issue 2852433004: Add an experimental flag to change location.reload to take a hard-reload (Closed)
Patch Set: Merge branch 'master' into 2852433004 Created 3 years, 7 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 7692a221a403060832abfc5b36f9505a21e7fc4a..0778e85d27b64a2de80f75d192bc4a6beda78df3 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -408,4 +408,8 @@ void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) {
RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable);
}
+void WebRuntimeFeatures::EnableLocationHardReload(bool enable) {
+ RuntimeEnabledFeatures::setLocationHardReloadEnabled(enable);
+}
+
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698