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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 class LocalFrame; | 59 class LocalFrame; |
60 class PluginPlaceholder; | 60 class PluginPlaceholder; |
61 class ResourceError; | 61 class ResourceError; |
62 class ResourceRequest; | 62 class ResourceRequest; |
63 class ResourceResponse; | 63 class ResourceResponse; |
64 class SecurityOrigin; | 64 class SecurityOrigin; |
65 class SharedWorkerRepositoryClient; | 65 class SharedWorkerRepositoryClient; |
66 class SubstituteData; | 66 class SubstituteData; |
67 class WebApplicationCacheHost; | 67 class WebApplicationCacheHost; |
68 class WebApplicationCacheHostClient; | 68 class WebApplicationCacheHostClient; |
| 69 class WebCookieJar; |
69 class WebMediaPlayer; | 70 class WebMediaPlayer; |
70 class WebCookieJar; | 71 class WebMediaPlayerClient; |
71 class WebRTCPeerConnectionHandler; | 72 class WebRTCPeerConnectionHandler; |
72 class WebServiceWorkerProvider; | 73 class WebServiceWorkerProvider; |
73 class WebSocketHandle; | 74 class WebSocketHandle; |
74 class Widget; | 75 class Widget; |
75 | 76 |
76 class CORE_EXPORT FrameLoaderClient : public FrameClient { | 77 class CORE_EXPORT FrameLoaderClient : public FrameClient { |
77 public: | 78 public: |
78 ~FrameLoaderClient() override {} | 79 ~FrameLoaderClient() override {} |
79 | 80 |
80 virtual bool hasWebView() const = 0; // mainly for assertions | 81 virtual bool hasWebView() const = 0; // mainly for assertions |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) cons
t = 0; | 152 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) cons
t = 0; |
152 | 153 |
153 // Called before plugin creation in order to ask the embedder whether a | 154 // Called before plugin creation in order to ask the embedder whether a |
154 // placeholder should be substituted instead. | 155 // placeholder should be substituted instead. |
155 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholde
r(Document&, const KURL&, const Vector<String>& paramNames, const Vector<String>
& paramValues, const String& mimeType, bool loadManually) = 0; | 156 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholde
r(Document&, const KURL&, const Vector<String>& paramNames, const Vector<String>
& paramValues, const String& mimeType, bool loadManually) = 0; |
156 | 157 |
157 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*,
const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool l
oadManually, DetachedPluginPolicy) = 0; | 158 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*,
const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool l
oadManually, DetachedPluginPolicy) = 0; |
158 | 159 |
159 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLApplet
Element*, const KURL& baseURL, const Vector<String>& paramNames, const Vector<St
ring>& paramValues) = 0; | 160 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLApplet
Element*, const KURL& baseURL, const Vector<String>& paramNames, const Vector<St
ring>& paramValues) = 0; |
160 | 161 |
161 virtual PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement
*, const WebURL&) = 0; | 162 virtual PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement
&, const WebURL&, WebMediaPlayerClient*) = 0; |
162 | 163 |
163 virtual ObjectContentType objectContentType(const KURL&, const String& m
imeType, bool shouldPreferPlugInsForImages) = 0; | 164 virtual ObjectContentType objectContentType(const KURL&, const String& m
imeType, bool shouldPreferPlugInsForImages) = 0; |
164 | 165 |
165 virtual void didCreateNewDocument() = 0; | 166 virtual void didCreateNewDocument() = 0; |
166 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; | 167 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; |
167 virtual void documentElementAvailable() = 0; | 168 virtual void documentElementAvailable() = 0; |
168 | 169 |
169 virtual v8::Local<v8::Value> createTestInterface(const AtomicString& nam
e) = 0; | 170 virtual v8::Local<v8::Value> createTestInterface(const AtomicString& nam
e) = 0; |
170 | 171 |
171 virtual void didCreateScriptContext(v8::Local<v8::Context>, int extensio
nGroup, int worldId) = 0; | 172 virtual void didCreateScriptContext(v8::Local<v8::Context>, int extensio
nGroup, int worldId) = 0; |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 BeforeUnloadHandler, | 241 BeforeUnloadHandler, |
241 UnloadHandler, | 242 UnloadHandler, |
242 }; | 243 }; |
243 virtual void suddenTerminationDisablerChanged(bool present, SuddenTermin
ationDisablerType) { } | 244 virtual void suddenTerminationDisablerChanged(bool present, SuddenTermin
ationDisablerType) { } |
244 | 245 |
245 }; | 246 }; |
246 | 247 |
247 } // namespace blink | 248 } // namespace blink |
248 | 249 |
249 #endif // FrameLoaderClient_h | 250 #endif // FrameLoaderClient_h |
OLD | NEW |