Chromium Code Reviews| 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 220 | 220 |
| 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 | |
| 231 // Called when an element preventing the sudden termination of the frame | |
| 232 // is added or removed. |variation| is the number of elements added, or | |
| 233 // removed if it is negative. |type| is the type of element | |
| 234 // (BeforeUnload handler, Unload handler). | |
| 235 enum SuddenTerminationDisablerType { | |
|
Nate Chapin
2015/01/20 18:46:49
This enum and the matching one in WebFrameClient.h
clamy
2015/01/21 13:46:31
Done.
| |
| 236 BeforeUnloadHandler, | |
| 237 UnloadHandler, | |
| 238 }; | |
| 239 virtual void suddenTerminationDisablerChanged(int variation, SuddenTermi nationDisablerType) { } | |
| 240 | |
| 230 }; | 241 }; |
| 231 | 242 |
| 232 } // namespace blink | 243 } // namespace blink |
| 233 | 244 |
| 234 #endif // FrameLoaderClient_h | 245 #endif // FrameLoaderClient_h |
| OLD | NEW |