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 17 matching lines...) Expand all Loading... |
28 */ | 28 */ |
29 | 29 |
30 #ifndef FrameLoaderClient_h | 30 #ifndef FrameLoaderClient_h |
31 #define FrameLoaderClient_h | 31 #define FrameLoaderClient_h |
32 | 32 |
33 #include "core/CoreExport.h" | 33 #include "core/CoreExport.h" |
34 #include "core/dom/Document.h" | 34 #include "core/dom/Document.h" |
35 #include "core/dom/IconURL.h" | 35 #include "core/dom/IconURL.h" |
36 #include "core/fetch/ResourceLoaderOptions.h" | 36 #include "core/fetch/ResourceLoaderOptions.h" |
37 #include "core/frame/FrameClient.h" | 37 #include "core/frame/FrameClient.h" |
| 38 #include "core/html/LinkResource.h" |
38 #include "core/loader/FrameLoaderTypes.h" | 39 #include "core/loader/FrameLoaderTypes.h" |
39 #include "core/loader/NavigationPolicy.h" | 40 #include "core/loader/NavigationPolicy.h" |
40 #include "platform/heap/Handle.h" | 41 #include "platform/heap/Handle.h" |
41 #include "platform/network/ResourceLoadPriority.h" | 42 #include "platform/network/ResourceLoadPriority.h" |
42 #include "platform/weborigin/Referrer.h" | 43 #include "platform/weborigin/Referrer.h" |
43 #include "public/platform/WebMediaPlayer.h" | 44 #include "public/platform/WebMediaPlayer.h" |
44 #include "wtf/Forward.h" | 45 #include "wtf/Forward.h" |
45 #include "wtf/Vector.h" | 46 #include "wtf/Vector.h" |
46 #include <v8.h> | 47 #include <v8.h> |
47 | 48 |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 | 247 |
247 // Called when elements preventing the sudden termination of the frame | 248 // Called when elements preventing the sudden termination of the frame |
248 // become present or stop being present. |type| is the type of element | 249 // become present or stop being present. |type| is the type of element |
249 // (BeforeUnload handler, Unload handler). | 250 // (BeforeUnload handler, Unload handler). |
250 enum SuddenTerminationDisablerType { | 251 enum SuddenTerminationDisablerType { |
251 BeforeUnloadHandler, | 252 BeforeUnloadHandler, |
252 UnloadHandler, | 253 UnloadHandler, |
253 }; | 254 }; |
254 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } | 255 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } |
255 | 256 |
| 257 virtual PassOwnPtrWillBeRawPtr<LinkResource> createServiceWorkerLinkResource
(HTMLLinkElement*) { return nullptr; } |
256 }; | 258 }; |
257 | 259 |
258 } // namespace blink | 260 } // namespace blink |
259 | 261 |
260 #endif // FrameLoaderClient_h | 262 #endif // FrameLoaderClient_h |
OLD | NEW |