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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 #include "platform/weborigin/Referrer.h" | 42 #include "platform/weborigin/Referrer.h" |
43 #include "wtf/Forward.h" | 43 #include "wtf/Forward.h" |
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 HTMLAppletElement; | |
53 class HTMLFormElement; | 52 class HTMLFormElement; |
54 class HTMLFrameOwnerElement; | 53 class HTMLFrameOwnerElement; |
55 class HTMLMediaElement; | 54 class HTMLMediaElement; |
56 class HTMLPlugInElement; | 55 class HTMLPlugInElement; |
57 class HistoryItem; | 56 class HistoryItem; |
58 class KURL; | 57 class KURL; |
59 class LocalFrame; | 58 class LocalFrame; |
60 class PluginPlaceholder; | 59 class PluginPlaceholder; |
61 class ResourceError; | 60 class ResourceError; |
62 class ResourceRequest; | 61 class ResourceRequest; |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 AllowDetachedPlugin, | 152 AllowDetachedPlugin, |
154 }; | 153 }; |
155 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const =
0; | 154 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const =
0; |
156 | 155 |
157 // 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 |
158 // placeholder should be substituted instead. | 157 // placeholder should be substituted instead. |
159 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder(Do
cument&, const KURL&, const Vector<String>& paramNames, const Vector<String>& pa
ramValues, const String& mimeType, bool loadManually) = 0; | 158 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder(Do
cument&, const KURL&, const Vector<String>& paramNames, const Vector<String>& pa
ramValues, const String& mimeType, bool loadManually) = 0; |
160 | 159 |
161 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, cons
t KURL&, const Vector<String>&, const Vector<String>&, const String&, bool loadM
anually, DetachedPluginPolicy) = 0; | 160 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, cons
t KURL&, const Vector<String>&, const Vector<String>&, const String&, bool loadM
anually, DetachedPluginPolicy) = 0; |
162 | 161 |
163 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLAppletElem
ent*, const KURL& baseURL, const Vector<String>& paramNames, const Vector<String
>& paramValues) = 0; | |
164 | |
165 virtual PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, c
onst WebURL&, WebMediaPlayerClient*) = 0; | 162 virtual PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, c
onst WebURL&, WebMediaPlayerClient*) = 0; |
166 | 163 |
167 virtual ObjectContentType objectContentType(const KURL&, const String& mimeT
ype, bool shouldPreferPlugInsForImages) = 0; | 164 virtual ObjectContentType objectContentType(const KURL&, const String& mimeT
ype, bool shouldPreferPlugInsForImages) = 0; |
168 | 165 |
169 virtual void didCreateNewDocument() = 0; | 166 virtual void didCreateNewDocument() = 0; |
170 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; | 167 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; |
171 virtual void documentElementAvailable() = 0; | 168 virtual void documentElementAvailable() = 0; |
172 | 169 |
173 virtual v8::Local<v8::Value> createTestInterface(const AtomicString& name) =
0; | 170 virtual v8::Local<v8::Value> createTestInterface(const AtomicString& name) =
0; |
174 | 171 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 BeforeUnloadHandler, | 241 BeforeUnloadHandler, |
245 UnloadHandler, | 242 UnloadHandler, |
246 }; | 243 }; |
247 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } | 244 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } |
248 | 245 |
249 }; | 246 }; |
250 | 247 |
251 } // namespace blink | 248 } // namespace blink |
252 | 249 |
253 #endif // FrameLoaderClient_h | 250 #endif // FrameLoaderClient_h |
OLD | NEW |