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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 didCreateNewDocument() = 0; | 162 virtual void didCreateNewDocument() = 0; |
163 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; | 163 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; |
164 virtual void documentElementAvailable() = 0; | 164 virtual void documentElementAvailable() = 0; |
165 | 165 |
166 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi
onGroup, int worldId) = 0; | 166 virtual void didCreateScriptContext(v8::Local<v8::Context>, int extensio
nGroup, int worldId) = 0; |
167 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world
Id) = 0; | 167 virtual void willReleaseScriptContext(v8::Local<v8::Context>, int worldI
d) = 0; |
168 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; |
169 | 169 |
170 virtual void didChangeScrollOffset() { } | 170 virtual void didChangeScrollOffset() { } |
171 virtual void didUpdateCurrentHistoryItem() { } | 171 virtual void didUpdateCurrentHistoryItem() { } |
172 virtual void didRemoveAllPendingStylesheet() { } | 172 virtual void didRemoveAllPendingStylesheet() { } |
173 | 173 |
174 virtual bool allowScript(bool enabledPerSettings) { return enabledPerSet
tings; } | 174 virtual bool allowScript(bool enabledPerSettings) { return enabledPerSet
tings; } |
175 virtual bool allowScriptFromSource(bool enabledPerSettings, const KURL&)
{ return enabledPerSettings; } | 175 virtual bool allowScriptFromSource(bool enabledPerSettings, const KURL&)
{ return enabledPerSettings; } |
176 virtual bool allowPlugins(bool enabledPerSettings) { return enabledPerSe
ttings; } | 176 virtual bool allowPlugins(bool enabledPerSettings) { return enabledPerSe
ttings; } |
177 virtual bool allowImage(bool enabledPerSettings, const KURL&) { return e
nabledPerSettings; } | 177 virtual bool allowImage(bool enabledPerSettings, const KURL&) { return e
nabledPerSettings; } |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 BeforeUnloadHandler, | 237 BeforeUnloadHandler, |
238 UnloadHandler, | 238 UnloadHandler, |
239 }; | 239 }; |
240 virtual void suddenTerminationDisablerChanged(bool present, SuddenTermin
ationDisablerType) { } | 240 virtual void suddenTerminationDisablerChanged(bool present, SuddenTermin
ationDisablerType) { } |
241 | 241 |
242 }; | 242 }; |
243 | 243 |
244 } // namespace blink | 244 } // namespace blink |
245 | 245 |
246 #endif // FrameLoaderClient_h | 246 #endif // FrameLoaderClient_h |
OLD | NEW |