| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 Widget* createPlugin( | 129 Widget* createPlugin( |
| 130 HTMLPlugInElement*, const KURL&, | 130 HTMLPlugInElement*, const KURL&, |
| 131 const Vector<WTF::String>&, const Vector<WTF::String>&, | 131 const Vector<WTF::String>&, const Vector<WTF::String>&, |
| 132 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; | 132 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; |
| 133 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web
MediaPlayerSource&, WebMediaPlayerClient*) override; | 133 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web
MediaPlayerSource&, WebMediaPlayerClient*) override; |
| 134 PassOwnPtr<WebMediaSession> createWebMediaSession() override; | 134 PassOwnPtr<WebMediaSession> createWebMediaSession() override; |
| 135 ObjectContentType getObjectContentType( | 135 ObjectContentType getObjectContentType( |
| 136 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; | 136 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; |
| 137 void didChangeScrollOffset() override; | 137 void didChangeScrollOffset() override; |
| 138 void didUpdateCurrentHistoryItem() override; | 138 void didUpdateCurrentHistoryItem() override; |
| 139 void didRemoveAllPendingStylesheet() override; | |
| 140 bool allowScript(bool enabledPerSettings) override; | 139 bool allowScript(bool enabledPerSettings) override; |
| 141 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o
verride; | 140 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o
verride; |
| 142 bool allowPlugins(bool enabledPerSettings) override; | 141 bool allowPlugins(bool enabledPerSettings) override; |
| 143 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; | 142 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; |
| 144 bool allowMedia(const KURL& mediaURL) override; | 143 bool allowMedia(const KURL& mediaURL) override; |
| 145 bool allowDisplayingInsecureContent(bool enabledPerSettings, const KURL&) ov
erride; | 144 bool allowDisplayingInsecureContent(bool enabledPerSettings, const KURL&) ov
erride; |
| 146 bool allowRunningInsecureContent(bool enabledPerSettings, SecurityOrigin*, c
onst KURL&) override; | 145 bool allowRunningInsecureContent(bool enabledPerSettings, SecurityOrigin*, c
onst KURL&) override; |
| 147 void didNotAllowScript() override; | 146 void didNotAllowScript() override; |
| 148 void didNotAllowPlugins() override; | 147 void didNotAllowPlugins() override; |
| 149 void didUseKeygen() override; | 148 void didUseKeygen() override; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 Member<WebLocalFrameImpl> m_webFrame; | 193 Member<WebLocalFrameImpl> m_webFrame; |
| 195 | 194 |
| 196 String m_userAgent; | 195 String m_userAgent; |
| 197 }; | 196 }; |
| 198 | 197 |
| 199 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 198 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
| 200 | 199 |
| 201 } // namespace blink | 200 } // namespace blink |
| 202 | 201 |
| 203 #endif | 202 #endif |
| OLD | NEW |