OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. |
3 * Copyright (C) 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2012 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
221 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach eHost(blink::WebApplicationCacheHostClient*) = 0; | 221 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach eHost(blink::WebApplicationCacheHostClient*) = 0; |
222 | 222 |
223 virtual void didStopAllLoaders() { } | 223 virtual void didStopAllLoaders() { } |
224 | 224 |
225 virtual void dispatchDidChangeManifest() { } | 225 virtual void dispatchDidChangeManifest() { } |
226 | 226 |
227 virtual unsigned backForwardLength() { return 0; } | 227 virtual unsigned backForwardLength() { return 0; } |
228 | 228 |
229 virtual bool isFrameLoaderClientImpl() const { return false; } | 229 virtual bool isFrameLoaderClientImpl() const { return false; } |
230 | 230 |
231 // Called when an element preventing the sudden termination of the frame | 231 // Called when elements preventing the sudden termination of the frame |
232 // is added or removed. |variation| is the number of elements added, or | 232 // 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.
| |
233 // removed if it is negative. |type| is the type of element | |
234 // (BeforeUnload handler, Unload handler). | 233 // (BeforeUnload handler, Unload handler). |
235 enum SuddenTerminationDisablerType { | 234 enum SuddenTerminationDisablerType { |
236 BeforeUnloadHandler, | 235 BeforeUnloadHandler, |
237 UnloadHandler, | 236 UnloadHandler, |
238 }; | 237 }; |
239 virtual void suddenTerminationDisablerChanged(int variation, SuddenTermi nationDisablerType) { } | 238 virtual void suddenTerminationDisablerChanged(bool present, SuddenTermin ationDisablerType) { } |
240 | 239 |
241 }; | 240 }; |
242 | 241 |
243 } // namespace blink | 242 } // namespace blink |
244 | 243 |
245 #endif // FrameLoaderClient_h | 244 #endif // FrameLoaderClient_h |
OLD | NEW |