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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 DocumentLoader* createDocumentLoader(LocalFrame*, const ResourceRequest&, co
nst SubstituteData&) override; | 122 DocumentLoader* createDocumentLoader(LocalFrame*, const ResourceRequest&, co
nst SubstituteData&) override; |
123 WTF::String userAgent() override; | 123 WTF::String userAgent() override; |
124 WTF::String doNotTrackValue() override; | 124 WTF::String doNotTrackValue() override; |
125 void transitionToCommittedForNewPage() override; | 125 void transitionToCommittedForNewPage() override; |
126 LocalFrame* createFrame(const FrameLoadRequest&, const WTF::AtomicString& na
me, HTMLFrameOwnerElement*) override; | 126 LocalFrame* createFrame(const FrameLoadRequest&, const WTF::AtomicString& na
me, HTMLFrameOwnerElement*) override; |
127 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; | 127 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; |
128 Widget* createPlugin( | 128 Widget* createPlugin( |
129 HTMLPlugInElement*, const KURL&, | 129 HTMLPlugInElement*, const KURL&, |
130 const Vector<WTF::String>&, const Vector<WTF::String>&, | 130 const Vector<WTF::String>&, const Vector<WTF::String>&, |
131 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; | 131 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; |
132 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web
URL&, WebMediaPlayerClient*) override; | 132 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web
MediaPlayerSource&, WebMediaPlayerClient*) override; |
133 PassOwnPtr<WebMediaSession> createWebMediaSession() override; | 133 PassOwnPtr<WebMediaSession> createWebMediaSession() override; |
134 ObjectContentType getObjectContentType( | 134 ObjectContentType getObjectContentType( |
135 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; | 135 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; |
136 void didChangeScrollOffset() override; | 136 void didChangeScrollOffset() override; |
137 void didUpdateCurrentHistoryItem() override; | 137 void didUpdateCurrentHistoryItem() override; |
138 void didRemoveAllPendingStylesheet() override; | 138 void didRemoveAllPendingStylesheet() override; |
139 bool allowScript(bool enabledPerSettings) override; | 139 bool allowScript(bool enabledPerSettings) override; |
140 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o
verride; | 140 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o
verride; |
141 bool allowPlugins(bool enabledPerSettings) override; | 141 bool allowPlugins(bool enabledPerSettings) override; |
142 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; | 142 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 Member<WebLocalFrameImpl> m_webFrame; | 196 Member<WebLocalFrameImpl> m_webFrame; |
197 | 197 |
198 String m_userAgent; | 198 String m_userAgent; |
199 }; | 199 }; |
200 | 200 |
201 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 201 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
202 | 202 |
203 } // namespace blink | 203 } // namespace blink |
204 | 204 |
205 #endif | 205 #endif |
OLD | NEW |