| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 #include "wtf/Vector.h" | 45 #include "wtf/Vector.h" |
| 46 #include <v8.h> | 46 #include <v8.h> |
| 47 | 47 |
| 48 namespace blink { | 48 namespace blink { |
| 49 | 49 |
| 50 class Document; | 50 class Document; |
| 51 class DocumentLoader; | 51 class DocumentLoader; |
| 52 class FetchRequest; | 52 class FetchRequest; |
| 53 class HTMLFormElement; | 53 class HTMLFormElement; |
| 54 class HTMLFrameElementBase; | 54 class HTMLFrameElementBase; |
| 55 class HTMLFrameletElement; |
| 55 class HTMLFrameOwnerElement; | 56 class HTMLFrameOwnerElement; |
| 56 class HTMLMediaElement; | 57 class HTMLMediaElement; |
| 57 class HTMLPlugInElement; | 58 class HTMLPlugInElement; |
| 58 class HistoryItem; | 59 class HistoryItem; |
| 59 class KURL; | 60 class KURL; |
| 60 class LocalFrame; | 61 class LocalFrame; |
| 61 class ResourceError; | 62 class ResourceError; |
| 62 class ResourceRequest; | 63 class ResourceRequest; |
| 63 class ResourceResponse; | 64 class ResourceResponse; |
| 64 class SecurityOrigin; | 65 class SecurityOrigin; |
| 65 class SharedWorkerRepositoryClient; | 66 class SharedWorkerRepositoryClient; |
| 66 class SubstituteData; | 67 class SubstituteData; |
| 67 class WebApplicationCacheHost; | 68 class WebApplicationCacheHost; |
| 68 class WebApplicationCacheHostClient; | 69 class WebApplicationCacheHostClient; |
| 69 class WebCookieJar; | 70 class WebCookieJar; |
| 71 class WebFramelet; |
| 72 class WebMediaPlayer; |
| 70 class WebMediaPlayerClient; | 73 class WebMediaPlayerClient; |
| 71 class WebMediaSession; | 74 class WebMediaSession; |
| 72 class WebRTCPeerConnectionHandler; | 75 class WebRTCPeerConnectionHandler; |
| 73 class WebServiceWorkerProvider; | 76 class WebServiceWorkerProvider; |
| 74 class WebSocketHandle; | 77 class WebSocketHandle; |
| 75 class Widget; | 78 class Widget; |
| 76 | 79 |
| 77 class CORE_EXPORT FrameLoaderClient : public FrameClient { | 80 class CORE_EXPORT FrameLoaderClient : public FrameClient { |
| 78 public: | 81 public: |
| 79 ~FrameLoaderClient() override {} | 82 ~FrameLoaderClient() override {} |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 | 148 |
| 146 virtual PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFra
me*, const ResourceRequest&, const SubstituteData&) = 0; | 149 virtual PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFra
me*, const ResourceRequest&, const SubstituteData&) = 0; |
| 147 | 150 |
| 148 virtual String userAgent() = 0; | 151 virtual String userAgent() = 0; |
| 149 | 152 |
| 150 virtual String doNotTrackValue() = 0; | 153 virtual String doNotTrackValue() = 0; |
| 151 | 154 |
| 152 virtual void transitionToCommittedForNewPage() = 0; | 155 virtual void transitionToCommittedForNewPage() = 0; |
| 153 | 156 |
| 154 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadReques
t&, const AtomicString& name, HTMLFrameOwnerElement*) = 0; | 157 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadReques
t&, const AtomicString& name, HTMLFrameOwnerElement*) = 0; |
| 158 virtual WebFramelet* createFramelet(const KURL&, HTMLFrameletElement*) = 0; |
| 155 // Whether or not plugin creation should fail if the HTMLPlugInElement isn't
in the DOM after plugin initialization. | 159 // Whether or not plugin creation should fail if the HTMLPlugInElement isn't
in the DOM after plugin initialization. |
| 156 enum DetachedPluginPolicy { | 160 enum DetachedPluginPolicy { |
| 157 FailOnDetachedPlugin, | 161 FailOnDetachedPlugin, |
| 158 AllowDetachedPlugin, | 162 AllowDetachedPlugin, |
| 159 }; | 163 }; |
| 160 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const =
0; | 164 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const =
0; |
| 161 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, cons
t KURL&, const Vector<String>&, const Vector<String>&, const String&, bool loadM
anually, DetachedPluginPolicy) = 0; | 165 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, cons
t KURL&, const Vector<String>&, const Vector<String>&, const String&, bool loadM
anually, DetachedPluginPolicy) = 0; |
| 162 | 166 |
| 163 virtual PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, W
ebMediaPlayer::LoadType, const WebURL&, WebMediaPlayerClient*) = 0; | 167 virtual PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, W
ebMediaPlayer::LoadType, const WebURL&, WebMediaPlayerClient*) = 0; |
| 164 | 168 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 BeforeUnloadHandler, | 253 BeforeUnloadHandler, |
| 250 UnloadHandler, | 254 UnloadHandler, |
| 251 }; | 255 }; |
| 252 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } | 256 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } |
| 253 | 257 |
| 254 }; | 258 }; |
| 255 | 259 |
| 256 } // namespace blink | 260 } // namespace blink |
| 257 | 261 |
| 258 #endif // FrameLoaderClient_h | 262 #endif // FrameLoaderClient_h |
| OLD | NEW |