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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 | 249 |
249 // Called when elements preventing the sudden termination of the frame | 250 // Called when elements preventing the sudden termination of the frame |
250 // become present or stop being present. |type| is the type of element | 251 // become present or stop being present. |type| is the type of element |
251 // (BeforeUnload handler, Unload handler). | 252 // (BeforeUnload handler, Unload handler). |
252 enum SuddenTerminationDisablerType { | 253 enum SuddenTerminationDisablerType { |
253 BeforeUnloadHandler, | 254 BeforeUnloadHandler, |
254 UnloadHandler, | 255 UnloadHandler, |
255 }; | 256 }; |
256 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } | 257 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } |
257 | 258 |
| 259 virtual PassOwnPtrWillBeRawPtr<LinkResource> createServiceWorkerLinkResource
(HTMLLinkElement*) { return nullptr; } |
258 }; | 260 }; |
259 | 261 |
260 } // namespace blink | 262 } // namespace blink |
261 | 263 |
262 #endif // FrameLoaderClient_h | 264 #endif // FrameLoaderClient_h |
OLD | NEW |