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