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 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web
URL&, WebMediaPlayerClient*) override; |
136 ObjectContentType objectContentType( | 136 ObjectContentType objectContentType( |
137 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; | 137 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; |
138 void didChangeScrollOffset() override; | 138 void didChangeScrollOffset() override; |
139 void didUpdateCurrentHistoryItem() override; | 139 void didUpdateCurrentHistoryItem() override; |
140 void didRemoveAllPendingStylesheet() override; | 140 void didRemoveAllPendingStylesheet() override; |
141 bool allowScript(bool enabledPerSettings) override; | 141 bool allowScript(bool enabledPerSettings) override; |
142 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o
verride; | 142 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o
verride; |
143 bool allowPlugins(bool enabledPerSettings) override; | 143 bool allowPlugins(bool enabledPerSettings) override; |
144 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; | 144 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; |
145 bool allowMedia(const KURL& mediaURL) override; | 145 bool allowMedia(const KURL& mediaURL) override; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 // The WebFrame that owns this object and manages its lifetime. Therefore, | 188 // The WebFrame that owns this object and manages its lifetime. Therefore, |
189 // the web frame object is guaranteed to exist. | 189 // the web frame object is guaranteed to exist. |
190 WebLocalFrameImpl* m_webFrame; | 190 WebLocalFrameImpl* m_webFrame; |
191 }; | 191 }; |
192 | 192 |
193 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 193 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
194 | 194 |
195 } // namespace blink | 195 } // namespace blink |
196 | 196 |
197 #endif | 197 #endif |
OLD | NEW |