| 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 | 142 |
| 143 virtual void transitionToCommittedForNewPage() = 0; | 143 virtual void transitionToCommittedForNewPage() = 0; |
| 144 | 144 |
| 145 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, cons
t AtomicString& name, HTMLFrameOwnerElement*) = 0; | 145 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, cons
t AtomicString& name, HTMLFrameOwnerElement*) = 0; |
| 146 // Whether or not plugin creation should fail if the HTMLPlugInElement i
sn't in the DOM after plugin initialization. | 146 // Whether or not plugin creation should fail if the HTMLPlugInElement i
sn't in the DOM after plugin initialization. |
| 147 enum DetachedPluginPolicy { | 147 enum DetachedPluginPolicy { |
| 148 FailOnDetachedPlugin, | 148 FailOnDetachedPlugin, |
| 149 AllowDetachedPlugin, | 149 AllowDetachedPlugin, |
| 150 }; | 150 }; |
| 151 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) cons
t = 0; | 151 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) cons
t = 0; |
| 152 virtual PassRefPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&,
const Vector<String>&, const Vector<String>&, const String&, bool loadManually,
DetachedPluginPolicy) = 0; | 152 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*,
const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool l
oadManually, DetachedPluginPolicy) = 0; |
| 153 | 153 |
| 154 virtual PassRefPtr<Widget> createJavaAppletWidget(HTMLAppletElement*, co
nst KURL& baseURL, const Vector<String>& paramNames, const Vector<String>& param
Values) = 0; | 154 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLApplet
Element*, const KURL& baseURL, const Vector<String>& paramNames, const Vector<St
ring>& paramValues) = 0; |
| 155 | 155 |
| 156 virtual ObjectContentType objectContentType(const KURL&, const String& m
imeType, bool shouldPreferPlugInsForImages) = 0; | 156 virtual ObjectContentType objectContentType(const KURL&, const String& m
imeType, bool shouldPreferPlugInsForImages) = 0; |
| 157 | 157 |
| 158 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; | 158 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; |
| 159 virtual void documentElementAvailable() = 0; | 159 virtual void documentElementAvailable() = 0; |
| 160 | 160 |
| 161 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi
onGroup, int worldId) = 0; | 161 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi
onGroup, int worldId) = 0; |
| 162 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world
Id) = 0; | 162 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world
Id) = 0; |
| 163 virtual bool allowScriptExtension(const String& extensionName, int exten
sionGroup, int worldId) = 0; | 163 virtual bool allowScriptExtension(const String& extensionName, int exten
sionGroup, int worldId) = 0; |
| 164 | 164 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 virtual void didStopAllLoaders() { } | 215 virtual void didStopAllLoaders() { } |
| 216 | 216 |
| 217 virtual void dispatchDidChangeManifest() { } | 217 virtual void dispatchDidChangeManifest() { } |
| 218 | 218 |
| 219 virtual bool isFrameLoaderClientImpl() const { return false; } | 219 virtual bool isFrameLoaderClientImpl() const { return false; } |
| 220 }; | 220 }; |
| 221 | 221 |
| 222 } // namespace blink | 222 } // namespace blink |
| 223 | 223 |
| 224 #endif // FrameLoaderClient_h | 224 #endif // FrameLoaderClient_h |
| OLD | NEW |