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

Unified Diff: public/platform/Platform.h

Issue 861773003: Inform the WebFrameClient of BeforeUnload/Unload handlers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index 0cd0fe96d45b3a8d91935d8b00422cc226a20a67..26d4a4b9094ff08f8fff4ab4483e43300d587d68 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -397,7 +397,9 @@ public:
// Sudden Termination --------------------------------------------------
- // Disable/Enable sudden termination.
+ // Disable/Enable sudden termination on a process level. When possible, it
+ // is preferable to disable sudden on a per-frame level via
+ // WebFrameClient::suddenTerminationDisablerChanged.
virtual void suddenTerminationChanged(bool enabled) { }

Powered by Google App Engine
This is Rietveld 408576698