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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 | 162 |
163 virtual PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, W
ebMediaPlayer::LoadType, const WebURL&, WebMediaPlayerClient*) = 0; | 163 virtual PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, W
ebMediaPlayer::LoadType, const WebURL&, WebMediaPlayerClient*) = 0; |
164 | 164 |
165 virtual PassOwnPtr<WebMediaSession> createWebMediaSession() = 0; | 165 virtual PassOwnPtr<WebMediaSession> createWebMediaSession() = 0; |
166 | 166 |
167 virtual ObjectContentType getObjectContentType(const KURL&, const String& mi
meType, bool shouldPreferPlugInsForImages) = 0; | 167 virtual ObjectContentType getObjectContentType(const KURL&, const String& mi
meType, bool shouldPreferPlugInsForImages) = 0; |
168 | 168 |
169 virtual void didCreateNewDocument() = 0; | 169 virtual void didCreateNewDocument() = 0; |
170 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; | 170 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; |
171 virtual void documentElementAvailable() = 0; | 171 virtual void documentElementAvailable() = 0; |
| 172 virtual void runScriptsAtDocumentElementAvailable() = 0; |
| 173 virtual void runScriptsAtDocumentReady() = 0; |
172 | 174 |
173 virtual v8::Local<v8::Value> createTestInterface(const AtomicString& name) =
0; | 175 virtual v8::Local<v8::Value> createTestInterface(const AtomicString& name) =
0; |
174 | 176 |
175 virtual void didCreateScriptContext(v8::Local<v8::Context>, int extensionGro
up, int worldId) = 0; | 177 virtual void didCreateScriptContext(v8::Local<v8::Context>, int extensionGro
up, int worldId) = 0; |
176 virtual void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) =
0; | 178 virtual void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) =
0; |
177 virtual bool allowScriptExtension(const String& extensionName, int extension
Group, int worldId) = 0; | 179 virtual bool allowScriptExtension(const String& extensionName, int extension
Group, int worldId) = 0; |
178 | 180 |
179 virtual void didChangeScrollOffset() { } | 181 virtual void didChangeScrollOffset() { } |
180 virtual void didUpdateCurrentHistoryItem() { } | 182 virtual void didUpdateCurrentHistoryItem() { } |
181 virtual void didRemoveAllPendingStylesheet() { } | 183 virtual void didRemoveAllPendingStylesheet() { } |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 BeforeUnloadHandler, | 251 BeforeUnloadHandler, |
250 UnloadHandler, | 252 UnloadHandler, |
251 }; | 253 }; |
252 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } | 254 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } |
253 | 255 |
254 }; | 256 }; |
255 | 257 |
256 } // namespace blink | 258 } // namespace blink |
257 | 259 |
258 #endif // FrameLoaderClient_h | 260 #endif // FrameLoaderClient_h |
OLD | NEW |