| 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 18 matching lines...) Expand all Loading... |
| 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/html/LinkResource.h" |
| 39 #include "core/loader/FrameLoadRequest.h" |
| 39 #include "core/loader/FrameLoaderTypes.h" | 40 #include "core/loader/FrameLoaderTypes.h" |
| 40 #include "core/loader/NavigationPolicy.h" | 41 #include "core/loader/NavigationPolicy.h" |
| 41 #include "platform/heap/Handle.h" | 42 #include "platform/heap/Handle.h" |
| 42 #include "platform/network/ContentSecurityPolicyParsers.h" | 43 #include "platform/network/ContentSecurityPolicyParsers.h" |
| 43 #include "platform/network/ResourceLoadPriority.h" | 44 #include "platform/network/ResourceLoadPriority.h" |
| 44 #include "platform/weborigin/Referrer.h" | 45 #include "platform/weborigin/Referrer.h" |
| 45 #include "public/platform/WebEffectiveConnectionType.h" | 46 #include "public/platform/WebEffectiveConnectionType.h" |
| 46 #include "public/platform/WebLoadingBehaviorFlag.h" | 47 #include "public/platform/WebLoadingBehaviorFlag.h" |
| 47 #include "wtf/Forward.h" | 48 #include "wtf/Forward.h" |
| 48 #include "wtf/Vector.h" | 49 #include "wtf/Vector.h" |
| 49 #include <v8.h> | 50 #include <v8.h> |
| 50 | 51 |
| 51 namespace blink { | 52 namespace blink { |
| 52 | 53 |
| 53 class Document; | 54 class Document; |
| 54 class DocumentLoader; | 55 class DocumentLoader; |
| 55 class FetchRequest; | 56 class FetchRequest; |
| 57 struct FrameLoadRequest; |
| 56 class HTMLFormElement; | 58 class HTMLFormElement; |
| 57 class HTMLFrameElementBase; | 59 class HTMLFrameElementBase; |
| 58 class HTMLFrameOwnerElement; | 60 class HTMLFrameOwnerElement; |
| 59 class HTMLMediaElement; | 61 class HTMLMediaElement; |
| 60 class HTMLPlugInElement; | 62 class HTMLPlugInElement; |
| 61 class HistoryItem; | 63 class HistoryItem; |
| 62 class KURL; | 64 class KURL; |
| 63 class LocalFrame; | 65 class LocalFrame; |
| 64 class ResourceError; | 66 class ResourceError; |
| 65 class ResourceRequest; | 67 class ResourceRequest; |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 | 269 |
| 268 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re
turn nullptr; } | 270 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re
turn nullptr; } |
| 269 | 271 |
| 270 // Effective connection type when this frame was loaded. | 272 // Effective connection type when this frame was loaded. |
| 271 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web
EffectiveConnectionType::TypeUnknown; } | 273 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web
EffectiveConnectionType::TypeUnknown; } |
| 272 }; | 274 }; |
| 273 | 275 |
| 274 } // namespace blink | 276 } // namespace blink |
| 275 | 277 |
| 276 #endif // FrameLoaderClient_h | 278 #endif // FrameLoaderClient_h |
| OLD | NEW |