| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 const String& mimeType, bool loadManually) override; | 125 const String& mimeType, bool loadManually) override; |
| 126 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin( | 126 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin( |
| 127 HTMLPlugInElement*, const KURL&, | 127 HTMLPlugInElement*, const KURL&, |
| 128 const Vector<WTF::String>&, const Vector<WTF::String>&, | 128 const Vector<WTF::String>&, const Vector<WTF::String>&, |
| 129 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; | 129 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; |
| 130 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget( | 130 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget( |
| 131 HTMLAppletElement*, | 131 HTMLAppletElement*, |
| 132 const KURL& /* base_url */, | 132 const KURL& /* base_url */, |
| 133 const Vector<WTF::String>& paramNames, | 133 const Vector<WTF::String>& paramNames, |
| 134 const Vector<WTF::String>& paramValues) override; | 134 const Vector<WTF::String>& paramValues) override; |
| 135 virtual PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement*, c
onst WebURL&) override; |
| 135 virtual ObjectContentType objectContentType( | 136 virtual ObjectContentType objectContentType( |
| 136 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; | 137 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; |
| 137 virtual void didChangeScrollOffset() override; | 138 virtual void didChangeScrollOffset() override; |
| 138 virtual void didUpdateCurrentHistoryItem() override; | 139 virtual void didUpdateCurrentHistoryItem() override; |
| 139 virtual void didRemoveAllPendingStylesheet() override; | 140 virtual void didRemoveAllPendingStylesheet() override; |
| 140 virtual bool allowScript(bool enabledPerSettings) override; | 141 virtual bool allowScript(bool enabledPerSettings) override; |
| 141 virtual bool allowScriptFromSource(bool enabledPerSettings, const KURL& scri
ptURL) override; | 142 virtual bool allowScriptFromSource(bool enabledPerSettings, const KURL& scri
ptURL) override; |
| 142 virtual bool allowPlugins(bool enabledPerSettings) override; | 143 virtual bool allowPlugins(bool enabledPerSettings) override; |
| 143 virtual bool allowImage(bool enabledPerSettings, const KURL& imageURL) overr
ide; | 144 virtual bool allowImage(bool enabledPerSettings, const KURL& imageURL) overr
ide; |
| 144 virtual bool allowMedia(const KURL& mediaURL) override; | 145 virtual bool allowMedia(const KURL& mediaURL) override; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 // The WebFrame that owns this object and manages its lifetime. Therefore, | 190 // The WebFrame that owns this object and manages its lifetime. Therefore, |
| 190 // the web frame object is guaranteed to exist. | 191 // the web frame object is guaranteed to exist. |
| 191 WebLocalFrameImpl* m_webFrame; | 192 WebLocalFrameImpl* m_webFrame; |
| 192 }; | 193 }; |
| 193 | 194 |
| 194 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 195 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
| 195 | 196 |
| 196 } // namespace blink | 197 } // namespace blink |
| 197 | 198 |
| 198 #endif | 199 #endif |
| OLD | NEW |