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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #include "wtf/Vector.h" | 43 #include "wtf/Vector.h" |
44 #include <v8.h> | 44 #include <v8.h> |
45 | 45 |
46 namespace blink { | 46 namespace blink { |
47 class WebCookieJar; | 47 class WebCookieJar; |
48 class WebRTCPeerConnectionHandler; | 48 class WebRTCPeerConnectionHandler; |
49 class WebServiceWorkerProvider; | 49 class WebServiceWorkerProvider; |
50 class WebSocketHandle; | 50 class WebSocketHandle; |
51 class WebApplicationCacheHost; | 51 class WebApplicationCacheHost; |
52 class WebApplicationCacheHostClient; | 52 class WebApplicationCacheHostClient; |
| 53 class WebMediaPlayer; |
53 } | 54 } |
54 | 55 |
55 namespace blink { | 56 namespace blink { |
56 | 57 |
57 class Document; | 58 class Document; |
58 class DocumentLoader; | 59 class DocumentLoader; |
59 class FetchRequest; | 60 class FetchRequest; |
60 class HTMLAppletElement; | 61 class HTMLAppletElement; |
61 class HTMLFormElement; | 62 class HTMLFormElement; |
62 class HTMLFrameOwnerElement; | 63 class HTMLFrameOwnerElement; |
| 64 class HTMLMediaElement; |
63 class HTMLPlugInElement; | 65 class HTMLPlugInElement; |
64 class HistoryItem; | 66 class HistoryItem; |
65 class KURL; | 67 class KURL; |
66 class LocalFrame; | 68 class LocalFrame; |
67 class PluginPlaceholder; | 69 class PluginPlaceholder; |
68 class ResourceError; | 70 class ResourceError; |
69 class ResourceRequest; | 71 class ResourceRequest; |
70 class ResourceResponse; | 72 class ResourceResponse; |
71 class SecurityOrigin; | 73 class SecurityOrigin; |
72 class SharedWorkerRepositoryClient; | 74 class SharedWorkerRepositoryClient; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) cons
t = 0; | 154 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) cons
t = 0; |
153 | 155 |
154 // Called before plugin creation in order to ask the embedder whether a | 156 // Called before plugin creation in order to ask the embedder whether a |
155 // placeholder should be substituted instead. | 157 // placeholder should be substituted instead. |
156 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholde
r(Document&, const KURL&, const Vector<String>& paramNames, const Vector<String>
& paramValues, const String& mimeType, bool loadManually) = 0; | 158 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholde
r(Document&, const KURL&, const Vector<String>& paramNames, const Vector<String>
& paramValues, const String& mimeType, bool loadManually) = 0; |
157 | 159 |
158 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*,
const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool l
oadManually, DetachedPluginPolicy) = 0; | 160 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*,
const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool l
oadManually, DetachedPluginPolicy) = 0; |
159 | 161 |
160 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLApplet
Element*, const KURL& baseURL, const Vector<String>& paramNames, const Vector<St
ring>& paramValues) = 0; | 162 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLApplet
Element*, const KURL& baseURL, const Vector<String>& paramNames, const Vector<St
ring>& paramValues) = 0; |
161 | 163 |
| 164 virtual PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement
*, const WebURL&) = 0; |
| 165 |
162 virtual ObjectContentType objectContentType(const KURL&, const String& m
imeType, bool shouldPreferPlugInsForImages) = 0; | 166 virtual ObjectContentType objectContentType(const KURL&, const String& m
imeType, bool shouldPreferPlugInsForImages) = 0; |
163 | 167 |
164 virtual void didCreateNewDocument() = 0; | 168 virtual void didCreateNewDocument() = 0; |
165 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; | 169 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; |
166 virtual void documentElementAvailable() = 0; | 170 virtual void documentElementAvailable() = 0; |
167 | 171 |
168 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi
onGroup, int worldId) = 0; | 172 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi
onGroup, int worldId) = 0; |
169 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world
Id) = 0; | 173 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world
Id) = 0; |
170 virtual bool allowScriptExtension(const String& extensionName, int exten
sionGroup, int worldId) = 0; | 174 virtual bool allowScriptExtension(const String& extensionName, int exten
sionGroup, int worldId) = 0; |
171 | 175 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 BeforeUnloadHandler, | 243 BeforeUnloadHandler, |
240 UnloadHandler, | 244 UnloadHandler, |
241 }; | 245 }; |
242 virtual void suddenTerminationDisablerChanged(bool present, SuddenTermin
ationDisablerType) { } | 246 virtual void suddenTerminationDisablerChanged(bool present, SuddenTermin
ationDisablerType) { } |
243 | 247 |
244 }; | 248 }; |
245 | 249 |
246 } // namespace blink | 250 } // namespace blink |
247 | 251 |
248 #endif // FrameLoaderClient_h | 252 #endif // FrameLoaderClient_h |
OLD | NEW |