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