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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 enum DetachedPluginPolicy { | 164 enum DetachedPluginPolicy { |
165 FailOnDetachedPlugin, | 165 FailOnDetachedPlugin, |
166 AllowDetachedPlugin, | 166 AllowDetachedPlugin, |
167 }; | 167 }; |
168 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; |
169 | 169 |
170 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; |
171 | 171 |
172 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; |
173 | 173 |
174 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*) = 0; | 174 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld&) = 0; |
175 virtual void documentElementAvailable() = 0; | 175 virtual void documentElementAvailable() = 0; |
176 | 176 |
177 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; |
178 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world
Id) = 0; | 178 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world
Id) = 0; |
179 virtual bool allowScriptExtension(const String& extensionName, int exten
sionGroup, int worldId) = 0; | 179 virtual bool allowScriptExtension(const String& extensionName, int exten
sionGroup, int worldId) = 0; |
180 | 180 |
181 virtual void didChangeScrollOffset() { } | 181 virtual void didChangeScrollOffset() { } |
182 virtual void didUpdateCurrentHistoryItem() { } | 182 virtual void didUpdateCurrentHistoryItem() { } |
183 | 183 |
184 virtual bool allowScript(bool enabledPerSettings) { return enabledPerSet
tings; } | 184 virtual bool allowScript(bool enabledPerSettings) { return enabledPerSet
tings; } |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach
eHost(blink::WebApplicationCacheHostClient*) = 0; | 227 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach
eHost(blink::WebApplicationCacheHostClient*) = 0; |
228 | 228 |
229 virtual void didStopAllLoaders() { } | 229 virtual void didStopAllLoaders() { } |
230 | 230 |
231 virtual bool isFrameLoaderClientImpl() const { return false; } | 231 virtual bool isFrameLoaderClientImpl() const { return false; } |
232 }; | 232 }; |
233 | 233 |
234 } // namespace WebCore | 234 } // namespace WebCore |
235 | 235 |
236 #endif // FrameLoaderClient_h | 236 #endif // FrameLoaderClient_h |
OLD | NEW |