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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 virtual String doNotTrackValue() = 0; | 157 virtual String doNotTrackValue() = 0; |
158 | 158 |
159 virtual void transitionToCommittedForNewPage() = 0; | 159 virtual void transitionToCommittedForNewPage() = 0; |
160 | 160 |
161 virtual PassRefPtr<LocalFrame> createFrame(const KURL&, const AtomicStri
ng& name, const Referrer&, HTMLFrameOwnerElement*) = 0; | 161 virtual PassRefPtr<LocalFrame> createFrame(const KURL&, const AtomicStri
ng& name, const Referrer&, HTMLFrameOwnerElement*) = 0; |
162 // Whether or not plugin creation should fail if the HTMLPlugInElement i
sn't in the DOM after plugin initialization. | 162 // Whether or not plugin creation should fail if the HTMLPlugInElement i
sn't in the DOM after plugin initialization. |
163 enum DetachedPluginPolicy { | 163 enum DetachedPluginPolicy { |
164 FailOnDetachedPlugin, | 164 FailOnDetachedPlugin, |
165 AllowDetachedPlugin, | 165 AllowDetachedPlugin, |
166 }; | 166 }; |
| 167 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) cons
t = 0; |
167 virtual PassRefPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&,
const Vector<String>&, const Vector<String>&, const String&, bool loadManually,
DetachedPluginPolicy) = 0; | 168 virtual PassRefPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&,
const Vector<String>&, const Vector<String>&, const String&, bool loadManually,
DetachedPluginPolicy) = 0; |
168 | 169 |
169 virtual PassRefPtr<Widget> createJavaAppletWidget(HTMLAppletElement*, co
nst KURL& baseURL, const Vector<String>& paramNames, const Vector<String>& param
Values) = 0; | 170 virtual PassRefPtr<Widget> createJavaAppletWidget(HTMLAppletElement*, co
nst KURL& baseURL, const Vector<String>& paramNames, const Vector<String>& param
Values) = 0; |
170 | 171 |
171 virtual ObjectContentType objectContentType(const KURL&, const String& m
imeType, bool shouldPreferPlugInsForImages) = 0; | 172 virtual ObjectContentType objectContentType(const KURL&, const String& m
imeType, bool shouldPreferPlugInsForImages) = 0; |
172 | 173 |
173 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld&) = 0; | 174 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld&) = 0; |
174 virtual void documentElementAvailable() = 0; | 175 virtual void documentElementAvailable() = 0; |
175 | 176 |
176 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi
onGroup, int worldId) = 0; | 177 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi
onGroup, int worldId) = 0; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach
eHost(blink::WebApplicationCacheHostClient*) = 0; | 227 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach
eHost(blink::WebApplicationCacheHostClient*) = 0; |
227 | 228 |
228 virtual void didStopAllLoaders() { } | 229 virtual void didStopAllLoaders() { } |
229 | 230 |
230 virtual bool isFrameLoaderClientImpl() const { return false; } | 231 virtual bool isFrameLoaderClientImpl() const { return false; } |
231 }; | 232 }; |
232 | 233 |
233 } // namespace WebCore | 234 } // namespace WebCore |
234 | 235 |
235 #endif // FrameLoaderClient_h | 236 #endif // FrameLoaderClient_h |
OLD | NEW |