| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 std::unique_ptr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, cons
t WebMediaPlayerSource&, WebMediaPlayerClient*) override; | 132 std::unique_ptr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, cons
t WebMediaPlayerSource&, WebMediaPlayerClient*) override; |
| 133 std::unique_ptr<WebMediaSession> createWebMediaSession() override; | |
| 134 ObjectContentType getObjectContentType( | 133 ObjectContentType getObjectContentType( |
| 135 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; | 134 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; |
| 136 void didChangeScrollOffset() override; | 135 void didChangeScrollOffset() override; |
| 137 void didUpdateCurrentHistoryItem() override; | 136 void didUpdateCurrentHistoryItem() override; |
| 138 bool allowScript(bool enabledPerSettings) override; | 137 bool allowScript(bool enabledPerSettings) override; |
| 139 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o
verride; | 138 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o
verride; |
| 140 bool allowPlugins(bool enabledPerSettings) override; | 139 bool allowPlugins(bool enabledPerSettings) override; |
| 141 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; | 140 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; |
| 142 bool allowRunningInsecureContent(bool enabledPerSettings, SecurityOrigin*, c
onst KURL&) override; | 141 bool allowRunningInsecureContent(bool enabledPerSettings, SecurityOrigin*, c
onst KURL&) override; |
| 143 bool allowAutoplay(bool defaultValue) override; | 142 bool allowAutoplay(bool defaultValue) override; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 Member<WebLocalFrameImpl> m_webFrame; | 192 Member<WebLocalFrameImpl> m_webFrame; |
| 194 | 193 |
| 195 String m_userAgent; | 194 String m_userAgent; |
| 196 }; | 195 }; |
| 197 | 196 |
| 198 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 197 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
| 199 | 198 |
| 200 } // namespace blink | 199 } // namespace blink |
| 201 | 200 |
| 202 #endif | 201 #endif |
| OLD | NEW |