Chromium Code Reviews| Index: Source/core/loader/FrameLoaderClient.h |
| diff --git a/Source/core/loader/FrameLoaderClient.h b/Source/core/loader/FrameLoaderClient.h |
| index b9854232971a129b6180deec2804e79c669b923a..04b488eb473261cb0d01a00aaffc316a53b2dac4 100644 |
| --- a/Source/core/loader/FrameLoaderClient.h |
| +++ b/Source/core/loader/FrameLoaderClient.h |
| @@ -228,15 +228,14 @@ namespace blink { |
| virtual bool isFrameLoaderClientImpl() const { return false; } |
| - // Called when an element preventing the sudden termination of the frame |
| - // is added or removed. |variation| is the number of elements added, or |
| - // removed if it is negative. |type| is the type of element |
| + // Called when elements preventing the sudden termination of the frame |
| + // are present or stop being present. |type| is the type of element |
|
Charlie Reis
2015/01/28 20:45:02
nit: are -> become
clamy
2015/01/29 12:49:11
Done.
|
| // (BeforeUnload handler, Unload handler). |
| enum SuddenTerminationDisablerType { |
| BeforeUnloadHandler, |
| UnloadHandler, |
| }; |
| - virtual void suddenTerminationDisablerChanged(int variation, SuddenTerminationDisablerType) { } |
| + virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminationDisablerType) { } |
| }; |