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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 | 169 |
170 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; | 170 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; |
171 virtual void documentElementAvailable() = 0; | 171 virtual void documentElementAvailable() = 0; |
172 | 172 |
173 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi
onGroup, int worldId) = 0; | 173 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi
onGroup, int worldId) = 0; |
174 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world
Id) = 0; | 174 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world
Id) = 0; |
175 virtual bool allowScriptExtension(const String& extensionName, int exten
sionGroup, int worldId) = 0; | 175 virtual bool allowScriptExtension(const String& extensionName, int exten
sionGroup, int worldId) = 0; |
176 | 176 |
177 virtual void didChangeScrollOffset() { } | 177 virtual void didChangeScrollOffset() { } |
178 virtual void didUpdateCurrentHistoryItem() { } | 178 virtual void didUpdateCurrentHistoryItem() { } |
| 179 virtual void didRemoveAllPendingStylesheet() { } |
179 | 180 |
180 virtual bool allowScript(bool enabledPerSettings) { return enabledPerSet
tings; } | 181 virtual bool allowScript(bool enabledPerSettings) { return enabledPerSet
tings; } |
181 virtual bool allowScriptFromSource(bool enabledPerSettings, const KURL&)
{ return enabledPerSettings; } | 182 virtual bool allowScriptFromSource(bool enabledPerSettings, const KURL&)
{ return enabledPerSettings; } |
182 virtual bool allowPlugins(bool enabledPerSettings) { return enabledPerSe
ttings; } | 183 virtual bool allowPlugins(bool enabledPerSettings) { return enabledPerSe
ttings; } |
183 virtual bool allowImage(bool enabledPerSettings, const KURL&) { return e
nabledPerSettings; } | 184 virtual bool allowImage(bool enabledPerSettings, const KURL&) { return e
nabledPerSettings; } |
184 virtual bool allowMedia(const KURL&) { return true; } | 185 virtual bool allowMedia(const KURL&) { return true; } |
185 virtual bool allowDisplayingInsecureContent(bool enabledPerSettings, Sec
urityOrigin*, const KURL&) { return enabledPerSettings; } | 186 virtual bool allowDisplayingInsecureContent(bool enabledPerSettings, Sec
urityOrigin*, const KURL&) { return enabledPerSettings; } |
186 virtual bool allowRunningInsecureContent(bool enabledPerSettings, Securi
tyOrigin*, const KURL&) { return enabledPerSettings; } | 187 virtual bool allowRunningInsecureContent(bool enabledPerSettings, Securi
tyOrigin*, const KURL&) { return enabledPerSettings; } |
187 | 188 |
188 // This callback notifies the client that the frame was about to run | 189 // This callback notifies the client that the frame was about to run |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 virtual void didStopAllLoaders() { } | 228 virtual void didStopAllLoaders() { } |
228 | 229 |
229 virtual void dispatchDidChangeManifest() { } | 230 virtual void dispatchDidChangeManifest() { } |
230 | 231 |
231 virtual bool isFrameLoaderClientImpl() const { return false; } | 232 virtual bool isFrameLoaderClientImpl() const { return false; } |
232 }; | 233 }; |
233 | 234 |
234 } // namespace blink | 235 } // namespace blink |
235 | 236 |
236 #endif // FrameLoaderClient_h | 237 #endif // FrameLoaderClient_h |
OLD | NEW |