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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 WTF::String userAgent() override; | 120 WTF::String userAgent() override; |
121 WTF::String doNotTrackValue() override; | 121 WTF::String doNotTrackValue() override; |
122 void transitionToCommittedForNewPage() override; | 122 void transitionToCommittedForNewPage() override; |
123 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons
t WTF::AtomicString& name, HTMLFrameOwnerElement*) override; | 123 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons
t WTF::AtomicString& name, HTMLFrameOwnerElement*) override; |
124 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; | 124 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; |
125 PassRefPtrWillBeRawPtr<Widget> createPlugin( | 125 PassRefPtrWillBeRawPtr<Widget> createPlugin( |
126 HTMLPlugInElement*, const KURL&, | 126 HTMLPlugInElement*, const KURL&, |
127 const Vector<WTF::String>&, const Vector<WTF::String>&, | 127 const Vector<WTF::String>&, const Vector<WTF::String>&, |
128 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; | 128 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; |
129 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web
URL&, WebMediaPlayerClient*) override; | 129 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web
URL&, WebMediaPlayerClient*) override; |
| 130 PassOwnPtr<WebMediaSession> createWebMediaSession() override; |
130 ObjectContentType objectContentType( | 131 ObjectContentType objectContentType( |
131 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; | 132 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; |
132 void didChangeScrollOffset() override; | 133 void didChangeScrollOffset() override; |
133 void didUpdateCurrentHistoryItem() override; | 134 void didUpdateCurrentHistoryItem() override; |
134 void didRemoveAllPendingStylesheet() override; | 135 void didRemoveAllPendingStylesheet() override; |
135 bool allowScript(bool enabledPerSettings) override; | 136 bool allowScript(bool enabledPerSettings) override; |
136 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o
verride; | 137 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o
verride; |
137 bool allowPlugins(bool enabledPerSettings) override; | 138 bool allowPlugins(bool enabledPerSettings) override; |
138 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; | 139 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; |
139 bool allowMedia(const KURL& mediaURL) override; | 140 bool allowMedia(const KURL& mediaURL) override; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 // The WebFrame that owns this object and manages its lifetime. Therefore, | 186 // The WebFrame that owns this object and manages its lifetime. Therefore, |
186 // the web frame object is guaranteed to exist. | 187 // the web frame object is guaranteed to exist. |
187 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; | 188 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; |
188 }; | 189 }; |
189 | 190 |
190 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 191 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
191 | 192 |
192 } // namespace blink | 193 } // namespace blink |
193 | 194 |
194 #endif | 195 #endif |
OLD | NEW |