| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFrame*, con
st ResourceRequest&, const SubstituteData&) override; | 119 PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFrame*, con
st ResourceRequest&, const SubstituteData&) override; |
| 120 WTF::String userAgent(const KURL&) override; | 120 WTF::String userAgent(const KURL&) 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 PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget( | |
| 130 HTMLAppletElement*, | |
| 131 const KURL& /* base_url */, | |
| 132 const Vector<WTF::String>& paramNames, | |
| 133 const Vector<WTF::String>& paramValues) override; | |
| 134 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web
URL&, WebMediaPlayerClient*) override; | 129 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web
URL&, WebMediaPlayerClient*) override; |
| 135 ObjectContentType objectContentType( | 130 ObjectContentType objectContentType( |
| 136 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; | 131 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; |
| 137 void didChangeScrollOffset() override; | 132 void didChangeScrollOffset() override; |
| 138 void didUpdateCurrentHistoryItem() override; | 133 void didUpdateCurrentHistoryItem() override; |
| 139 void didRemoveAllPendingStylesheet() override; | 134 void didRemoveAllPendingStylesheet() override; |
| 140 bool allowScript(bool enabledPerSettings) override; | 135 bool allowScript(bool enabledPerSettings) override; |
| 141 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o
verride; | 136 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o
verride; |
| 142 bool allowPlugins(bool enabledPerSettings) override; | 137 bool allowPlugins(bool enabledPerSettings) override; |
| 143 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; | 138 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 // The WebFrame that owns this object and manages its lifetime. Therefore, | 185 // The WebFrame that owns this object and manages its lifetime. Therefore, |
| 191 // the web frame object is guaranteed to exist. | 186 // the web frame object is guaranteed to exist. |
| 192 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; | 187 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; |
| 193 }; | 188 }; |
| 194 | 189 |
| 195 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 190 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
| 196 | 191 |
| 197 } // namespace blink | 192 } // namespace blink |
| 198 | 193 |
| 199 #endif | 194 #endif |
| OLD | NEW |