Index: public/web/WebFrameClient.h |
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h |
index c94d0f25416bdb12f23aa5c66af5a0bb63de5267..a921c138d56778838a8ee8f7f6e576618bd5bc9d 100644 |
--- a/public/web/WebFrameClient.h |
+++ b/public/web/WebFrameClient.h |
@@ -608,15 +608,14 @@ public: |
// Sudden termination -------------------------------------------------- |
- // Called when an element preventing the sudden termination of the frame is |
- // added or removed. |variation| is the number of elements added, removed if |
- // it is negative. |type| is the type of element (BeforeUnload handler, |
- // Unload handler). |
+ // Called when elements preventing the sudden termination of the frame are |
Charlie Reis
2015/01/28 20:45:02
nit: are -> become
clamy
2015/01/29 12:49:11
Done.
|
+ // present or stop being present. |type| is the type of element |
+ // (BeforeUnload handler, Unload handler). |
enum SuddenTerminationDisablerType { |
BeforeUnloadHandler, |
UnloadHandler, |
}; |
- virtual void suddenTerminationDisablerChanged(int variation, SuddenTerminationDisablerType) { } |
+ virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminationDisablerType) { } |
protected: |
virtual ~WebFrameClient() { } |