| Index: public/web/WebFrameClient.h
|
| diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
|
| index 6306ce3209c06bd256b31647469325c43fe9c04a..943fffb8c5b960b0b50700f19480df174976fa47 100644
|
| --- a/public/web/WebFrameClient.h
|
| +++ b/public/web/WebFrameClient.h
|
| @@ -617,15 +617,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
|
| + // become 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() { }
|
|
|