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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 }; | 168 }; |
169 virtual PassRefPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&,
const Vector<String>&, const Vector<String>&, const String&, bool loadManually,
DetachedPluginPolicy) = 0; | 169 virtual PassRefPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&,
const Vector<String>&, const Vector<String>&, const String&, bool loadManually,
DetachedPluginPolicy) = 0; |
170 | 170 |
171 virtual PassRefPtr<Widget> createJavaAppletWidget(HTMLAppletElement*, co
nst KURL& baseURL, const Vector<String>& paramNames, const Vector<String>& param
Values) = 0; | 171 virtual PassRefPtr<Widget> createJavaAppletWidget(HTMLAppletElement*, co
nst KURL& baseURL, const Vector<String>& paramNames, const Vector<String>& param
Values) = 0; |
172 | 172 |
173 virtual ObjectContentType objectContentType(const KURL&, const String& m
imeType, bool shouldPreferPlugInsForImages) = 0; | 173 virtual ObjectContentType objectContentType(const KURL&, const String& m
imeType, bool shouldPreferPlugInsForImages) = 0; |
174 | 174 |
175 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*) = 0; | 175 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*) = 0; |
176 virtual void documentElementAvailable() = 0; | 176 virtual void documentElementAvailable() = 0; |
177 | 177 |
178 virtual void didExhaustMemoryAvailableForScript() { }; | |
179 | |
180 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi
onGroup, int worldId) = 0; | 178 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi
onGroup, int worldId) = 0; |
181 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world
Id) = 0; | 179 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world
Id) = 0; |
182 virtual bool allowScriptExtension(const String& extensionName, int exten
sionGroup, int worldId) = 0; | 180 virtual bool allowScriptExtension(const String& extensionName, int exten
sionGroup, int worldId) = 0; |
183 | 181 |
184 virtual void didChangeScrollOffset() { } | 182 virtual void didChangeScrollOffset() { } |
185 virtual void didUpdateCurrentHistoryItem() { } | 183 virtual void didUpdateCurrentHistoryItem() { } |
186 | 184 |
187 virtual bool allowScript(bool enabledPerSettings) { return enabledPerSet
tings; } | 185 virtual bool allowScript(bool enabledPerSettings) { return enabledPerSet
tings; } |
188 virtual bool allowScriptFromSource(bool enabledPerSettings, const KURL&)
{ return enabledPerSettings; } | 186 virtual bool allowScriptFromSource(bool enabledPerSettings, const KURL&)
{ return enabledPerSettings; } |
189 virtual bool allowPlugins(bool enabledPerSettings) { return enabledPerSe
ttings; } | 187 virtual bool allowPlugins(bool enabledPerSettings) { return enabledPerSe
ttings; } |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach
eHost(blink::WebApplicationCacheHostClient*) = 0; | 228 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach
eHost(blink::WebApplicationCacheHostClient*) = 0; |
231 | 229 |
232 virtual void didStopAllLoaders() { } | 230 virtual void didStopAllLoaders() { } |
233 | 231 |
234 virtual bool isFrameLoaderClientImpl() const { return false; } | 232 virtual bool isFrameLoaderClientImpl() const { return false; } |
235 }; | 233 }; |
236 | 234 |
237 } // namespace WebCore | 235 } // namespace WebCore |
238 | 236 |
239 #endif // FrameLoaderClient_h | 237 #endif // FrameLoaderClient_h |
OLD | NEW |