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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 enum DetachedPluginPolicy { | 149 enum DetachedPluginPolicy { |
150 FailOnDetachedPlugin, | 150 FailOnDetachedPlugin, |
151 AllowDetachedPlugin, | 151 AllowDetachedPlugin, |
152 }; | 152 }; |
153 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) cons
t = 0; | 153 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) cons
t = 0; |
154 | 154 |
155 // Called before plugin creation in order to ask the embedder whether a | 155 // Called before plugin creation in order to ask the embedder whether a |
156 // placeholder should be substituted instead. | 156 // placeholder should be substituted instead. |
157 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholde
r(Document&, const KURL&, const Vector<String>& paramNames, const Vector<String>
& paramValues, const String& mimeType, bool loadManually) = 0; | 157 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholde
r(Document&, const KURL&, const Vector<String>& paramNames, const Vector<String>
& paramValues, const String& mimeType, bool loadManually) = 0; |
158 | 158 |
159 virtual PassRefPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&,
const Vector<String>&, const Vector<String>&, const String&, bool loadManually,
DetachedPluginPolicy) = 0; | 159 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*,
const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool l
oadManually, DetachedPluginPolicy) = 0; |
160 virtual PassRefPtr<Widget> createJavaAppletWidget(HTMLAppletElement*, co
nst KURL& baseURL, const Vector<String>& paramNames, const Vector<String>& param
Values) = 0; | 160 |
| 161 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLApplet
Element*, const KURL& baseURL, const Vector<String>& paramNames, const Vector<St
ring>& paramValues) = 0; |
161 | 162 |
162 virtual ObjectContentType objectContentType(const KURL&, const String& m
imeType, bool shouldPreferPlugInsForImages) = 0; | 163 virtual ObjectContentType objectContentType(const KURL&, const String& m
imeType, bool shouldPreferPlugInsForImages) = 0; |
163 | 164 |
164 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; | 165 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; |
165 virtual void documentElementAvailable() = 0; | 166 virtual void documentElementAvailable() = 0; |
166 | 167 |
167 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi
onGroup, int worldId) = 0; | 168 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi
onGroup, int worldId) = 0; |
168 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world
Id) = 0; | 169 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world
Id) = 0; |
169 virtual bool allowScriptExtension(const String& extensionName, int exten
sionGroup, int worldId) = 0; | 170 virtual bool allowScriptExtension(const String& extensionName, int exten
sionGroup, int worldId) = 0; |
170 | 171 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 virtual void didStopAllLoaders() { } | 222 virtual void didStopAllLoaders() { } |
222 | 223 |
223 virtual void dispatchDidChangeManifest() { } | 224 virtual void dispatchDidChangeManifest() { } |
224 | 225 |
225 virtual bool isFrameLoaderClientImpl() const { return false; } | 226 virtual bool isFrameLoaderClientImpl() const { return false; } |
226 }; | 227 }; |
227 | 228 |
228 } // namespace blink | 229 } // namespace blink |
229 | 230 |
230 #endif // FrameLoaderClient_h | 231 #endif // FrameLoaderClient_h |
OLD | NEW |