| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights |
| 3 * reserved. | 3 * reserved. |
| 4 * Copyright (C) 2012 Google Inc. All rights reserved. | 4 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 #include "public/platform/WebLoadingBehaviorFlag.h" | 49 #include "public/platform/WebLoadingBehaviorFlag.h" |
| 50 #include "wtf/Forward.h" | 50 #include "wtf/Forward.h" |
| 51 #include "wtf/Vector.h" | 51 #include "wtf/Vector.h" |
| 52 #include <memory> | 52 #include <memory> |
| 53 #include <v8.h> | 53 #include <v8.h> |
| 54 | 54 |
| 55 namespace blink { | 55 namespace blink { |
| 56 | 56 |
| 57 class Document; | 57 class Document; |
| 58 class DocumentLoader; | 58 class DocumentLoader; |
| 59 class FetchRequest; | |
| 60 struct FrameLoadRequest; | 59 struct FrameLoadRequest; |
| 61 class HTMLFormElement; | 60 class HTMLFormElement; |
| 62 class HTMLFrameElementBase; | 61 class HTMLFrameElementBase; |
| 63 class HTMLFrameOwnerElement; | 62 class HTMLFrameOwnerElement; |
| 64 class HTMLMediaElement; | 63 class HTMLMediaElement; |
| 65 class HTMLPlugInElement; | 64 class HTMLPlugInElement; |
| 66 class HistoryItem; | 65 class HistoryItem; |
| 67 class KURL; | 66 class KURL; |
| 68 class LocalFrame; | 67 class LocalFrame; |
| 69 class ResourceError; | 68 class ResourceError; |
| 70 class ResourceRequest; | 69 class ResourceRequest; |
| 71 class ResourceResponse; | 70 class ResourceResponse; |
| 72 class SecurityOrigin; | 71 class SecurityOrigin; |
| 73 class SharedWorkerRepositoryClient; | 72 class SharedWorkerRepositoryClient; |
| 74 class SubstituteData; | 73 class SubstituteData; |
| 75 class WebApplicationCacheHost; | 74 class WebApplicationCacheHost; |
| 76 class WebApplicationCacheHostClient; | 75 class WebApplicationCacheHostClient; |
| 77 class WebCookieJar; | 76 class WebCookieJar; |
| 78 class WebMediaPlayer; | 77 class WebMediaPlayer; |
| 79 class WebMediaPlayerClient; | 78 class WebMediaPlayerClient; |
| 80 class WebMediaPlayerSource; | 79 class WebMediaPlayerSource; |
| 81 class WebMediaStream; | |
| 82 class WebRTCPeerConnectionHandler; | 80 class WebRTCPeerConnectionHandler; |
| 83 class WebServiceWorkerProvider; | 81 class WebServiceWorkerProvider; |
| 84 class WebSocketHandle; | |
| 85 class Widget; | 82 class Widget; |
| 86 | 83 |
| 87 class CORE_EXPORT FrameLoaderClient : public FrameClient { | 84 class CORE_EXPORT FrameLoaderClient : public FrameClient { |
| 88 public: | 85 public: |
| 89 ~FrameLoaderClient() override {} | 86 ~FrameLoaderClient() override {} |
| 90 | 87 |
| 91 virtual bool hasWebView() const = 0; // mainly for assertions | 88 virtual bool hasWebView() const = 0; // mainly for assertions |
| 92 | 89 |
| 93 virtual void dispatchWillSendRequest(ResourceRequest&) = 0; | 90 virtual void dispatchWillSendRequest(ResourceRequest&) = 0; |
| 94 virtual void dispatchDidReceiveResponse(const ResourceResponse&) = 0; | 91 virtual void dispatchDidReceiveResponse(const ResourceResponse&) = 0; |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 } | 329 } |
| 333 | 330 |
| 334 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is | 331 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is |
| 335 // returned if the URL is not overriden. | 332 // returned if the URL is not overriden. |
| 336 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } | 333 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } |
| 337 }; | 334 }; |
| 338 | 335 |
| 339 } // namespace blink | 336 } // namespace blink |
| 340 | 337 |
| 341 #endif // FrameLoaderClient_h | 338 #endif // FrameLoaderClient_h |
| OLD | NEW |