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