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; | |
131 ObjectContentType objectContentType( | 130 ObjectContentType objectContentType( |
132 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; | 131 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; |
133 void didChangeScrollOffset() override; | 132 void didChangeScrollOffset() override; |
134 void didUpdateCurrentHistoryItem() override; | 133 void didUpdateCurrentHistoryItem() override; |
135 void didRemoveAllPendingStylesheet() override; | 134 void didRemoveAllPendingStylesheet() override; |
136 bool allowScript(bool enabledPerSettings) override; | 135 bool allowScript(bool enabledPerSettings) override; |
137 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o
verride; | 136 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o
verride; |
138 bool allowPlugins(bool enabledPerSettings) override; | 137 bool allowPlugins(bool enabledPerSettings) override; |
139 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; | 138 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; |
140 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... |
186 // The WebFrame that owns this object and manages its lifetime. Therefore, | 185 // The WebFrame that owns this object and manages its lifetime. Therefore, |
187 // the web frame object is guaranteed to exist. | 186 // the web frame object is guaranteed to exist. |
188 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; | 187 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; |
189 }; | 188 }; |
190 | 189 |
191 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 190 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
192 | 191 |
193 } // namespace blink | 192 } // namespace blink |
194 | 193 |
195 #endif | 194 #endif |
OLD | NEW |