| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple 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 are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons
t WTF::AtomicString& name, HTMLFrameOwnerElement*) override; | 121 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons
t WTF::AtomicString& name, HTMLFrameOwnerElement*) override; |
| 122 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; | 122 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; |
| 123 PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder( | 123 PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder( |
| 124 Document&, const KURL&, | 124 Document&, const KURL&, |
| 125 const Vector<String>& paramNames, const Vector<String>& paramValues, | 125 const Vector<String>& paramNames, const Vector<String>& paramValues, |
| 126 const String& mimeType, bool loadManually) override; | 126 const String& mimeType, bool loadManually) override; |
| 127 PassRefPtrWillBeRawPtr<Widget> createPlugin( | 127 PassRefPtrWillBeRawPtr<Widget> createPlugin( |
| 128 HTMLPlugInElement*, const KURL&, | 128 HTMLPlugInElement*, const KURL&, |
| 129 const Vector<WTF::String>&, const Vector<WTF::String>&, | 129 const Vector<WTF::String>&, const Vector<WTF::String>&, |
| 130 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; | 130 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; |
| 131 PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget( | |
| 132 HTMLAppletElement*, | |
| 133 const KURL& /* base_url */, | |
| 134 const Vector<WTF::String>& paramNames, | |
| 135 const Vector<WTF::String>& paramValues) override; | |
| 136 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web
URL&, WebMediaPlayerClient*) override; | 131 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web
URL&, WebMediaPlayerClient*) override; |
| 137 ObjectContentType objectContentType( | 132 ObjectContentType objectContentType( |
| 138 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; | 133 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; |
| 139 void didChangeScrollOffset() override; | 134 void didChangeScrollOffset() override; |
| 140 void didUpdateCurrentHistoryItem() override; | 135 void didUpdateCurrentHistoryItem() override; |
| 141 void didRemoveAllPendingStylesheet() override; | 136 void didRemoveAllPendingStylesheet() override; |
| 142 bool allowScript(bool enabledPerSettings) override; | 137 bool allowScript(bool enabledPerSettings) override; |
| 143 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o
verride; | 138 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o
verride; |
| 144 bool allowPlugins(bool enabledPerSettings) override; | 139 bool allowPlugins(bool enabledPerSettings) override; |
| 145 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; | 140 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 // The WebFrame that owns this object and manages its lifetime. Therefore, | 184 // The WebFrame that owns this object and manages its lifetime. Therefore, |
| 190 // the web frame object is guaranteed to exist. | 185 // the web frame object is guaranteed to exist. |
| 191 WebLocalFrameImpl* m_webFrame; | 186 WebLocalFrameImpl* m_webFrame; |
| 192 }; | 187 }; |
| 193 | 188 |
| 194 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 189 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
| 195 | 190 |
| 196 } // namespace blink | 191 } // namespace blink |
| 197 | 192 |
| 198 #endif | 193 #endif |
| OLD | NEW |