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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
153 // placeholder should be substituted instead. | 153 // placeholder should be substituted instead. |
154 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholde r(Document&, const KURL&, const Vector<String>& paramNames, const Vector<String> & paramValues, const String& mimeType, bool loadManually) = 0; | 154 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholde r(Document&, const KURL&, const Vector<String>& paramNames, const Vector<String> & paramValues, const String& mimeType, bool loadManually) = 0; |
155 | 155 |
156 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool l oadManually, DetachedPluginPolicy) = 0; | 156 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool l oadManually, DetachedPluginPolicy) = 0; |
157 | 157 |
158 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLApplet Element*, const KURL& baseURL, const Vector<String>& paramNames, const Vector<St ring>& paramValues) = 0; | 158 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLApplet Element*, const KURL& baseURL, const Vector<String>& paramNames, const Vector<St ring>& paramValues) = 0; |
159 | 159 |
160 virtual ObjectContentType objectContentType(const KURL&, const String& m imeType, bool shouldPreferPlugInsForImages) = 0; | 160 virtual ObjectContentType objectContentType(const KURL&, const String& m imeType, bool shouldPreferPlugInsForImages) = 0; |
161 | 161 |
162 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; | 162 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; |
163 virtual void dispatchWillReplaceDocumentWhileExecutingJavaScriptURL() = 0; | |
Nate Chapin
2014/11/06 17:27:37
This feels hacky. I'd feel much better about a did
robwu
2014/11/06 18:13:08
Done. We will still use two InvalidateFrame() call
| |
163 virtual void documentElementAvailable() = 0; | 164 virtual void documentElementAvailable() = 0; |
164 | 165 |
165 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi onGroup, int worldId) = 0; | 166 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi onGroup, int worldId) = 0; |
166 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world Id) = 0; | 167 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world Id) = 0; |
167 virtual bool allowScriptExtension(const String& extensionName, int exten sionGroup, int worldId) = 0; | 168 virtual bool allowScriptExtension(const String& extensionName, int exten sionGroup, int worldId) = 0; |
168 | 169 |
169 virtual void didChangeScrollOffset() { } | 170 virtual void didChangeScrollOffset() { } |
170 virtual void didUpdateCurrentHistoryItem() { } | 171 virtual void didUpdateCurrentHistoryItem() { } |
171 virtual void didRemoveAllPendingStylesheet() { } | 172 virtual void didRemoveAllPendingStylesheet() { } |
172 | 173 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
220 virtual void didStopAllLoaders() { } | 221 virtual void didStopAllLoaders() { } |
221 | 222 |
222 virtual void dispatchDidChangeManifest() { } | 223 virtual void dispatchDidChangeManifest() { } |
223 | 224 |
224 virtual bool isFrameLoaderClientImpl() const { return false; } | 225 virtual bool isFrameLoaderClientImpl() const { return false; } |
225 }; | 226 }; |
226 | 227 |
227 } // namespace blink | 228 } // namespace blink |
228 | 229 |
229 #endif // FrameLoaderClient_h | 230 #endif // FrameLoaderClient_h |
OLD | NEW |