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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 const String& mimeType, bool loadManually) override; | 125 const String& mimeType, bool loadManually) override; |
126 PassRefPtrWillBeRawPtr<Widget> createPlugin( | 126 PassRefPtrWillBeRawPtr<Widget> createPlugin( |
127 HTMLPlugInElement*, const KURL&, | 127 HTMLPlugInElement*, const KURL&, |
128 const Vector<WTF::String>&, const Vector<WTF::String>&, | 128 const Vector<WTF::String>&, const Vector<WTF::String>&, |
129 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; | 129 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; |
130 PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget( | 130 PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget( |
131 HTMLAppletElement*, | 131 HTMLAppletElement*, |
132 const KURL& /* base_url */, | 132 const KURL& /* base_url */, |
133 const Vector<WTF::String>& paramNames, | 133 const Vector<WTF::String>& paramNames, |
134 const Vector<WTF::String>& paramValues) override; | 134 const Vector<WTF::String>& paramValues) override; |
| 135 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement*, const Web
URL&) override; |
135 ObjectContentType objectContentType( | 136 ObjectContentType objectContentType( |
136 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; | 137 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; |
137 void didChangeScrollOffset() override; | 138 void didChangeScrollOffset() override; |
138 void didUpdateCurrentHistoryItem() override; | 139 void didUpdateCurrentHistoryItem() override; |
139 void didRemoveAllPendingStylesheet() override; | 140 void didRemoveAllPendingStylesheet() override; |
140 bool allowScript(bool enabledPerSettings) override; | 141 bool allowScript(bool enabledPerSettings) override; |
141 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o
verride; | 142 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o
verride; |
142 bool allowPlugins(bool enabledPerSettings) override; | 143 bool allowPlugins(bool enabledPerSettings) override; |
143 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; | 144 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; |
144 bool allowMedia(const KURL& mediaURL) override; | 145 bool allowMedia(const KURL& mediaURL) override; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 // The WebFrame that owns this object and manages its lifetime. Therefore, | 190 // The WebFrame that owns this object and manages its lifetime. Therefore, |
190 // the web frame object is guaranteed to exist. | 191 // the web frame object is guaranteed to exist. |
191 WebLocalFrameImpl* m_webFrame; | 192 WebLocalFrameImpl* m_webFrame; |
192 }; | 193 }; |
193 | 194 |
194 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 195 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
195 | 196 |
196 } // namespace blink | 197 } // namespace blink |
197 | 198 |
198 #endif | 199 #endif |
OLD | NEW |