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 15 matching lines...) Expand all Loading... |
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
30 */ | 30 */ |
31 | 31 |
32 #ifndef FrameLoaderClientImpl_h | 32 #ifndef FrameLoaderClientImpl_h |
33 #define FrameLoaderClientImpl_h | 33 #define FrameLoaderClientImpl_h |
34 | 34 |
35 #include "core/loader/FrameLoaderClient.h" | 35 #include "core/loader/FrameLoaderClient.h" |
| 36 #include "platform/heap/Handle.h" |
36 #include "platform/weborigin/KURL.h" | 37 #include "platform/weborigin/KURL.h" |
37 #include "wtf/PassOwnPtr.h" | 38 #include "wtf/PassOwnPtr.h" |
38 #include "wtf/RefPtr.h" | 39 #include "wtf/RefPtr.h" |
39 | 40 |
40 namespace blink { | 41 namespace blink { |
41 | 42 |
42 class WebLocalFrameImpl; | 43 class WebLocalFrameImpl; |
43 class WebPluginContainerImpl; | 44 class WebPluginContainerImpl; |
44 class WebPluginLoadObserver; | 45 class WebPluginLoadObserver; |
45 | 46 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 virtual void didAccessInitialDocument() OVERRIDE; | 109 virtual void didAccessInitialDocument() OVERRIDE; |
109 virtual void didDisplayInsecureContent() OVERRIDE; | 110 virtual void didDisplayInsecureContent() OVERRIDE; |
110 virtual void didRunInsecureContent(SecurityOrigin*, const KURL& insecureURL)
OVERRIDE; | 111 virtual void didRunInsecureContent(SecurityOrigin*, const KURL& insecureURL)
OVERRIDE; |
111 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) OVERRIDE; | 112 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) OVERRIDE; |
112 virtual void didDispatchPingLoader(const KURL&) OVERRIDE; | 113 virtual void didDispatchPingLoader(const KURL&) OVERRIDE; |
113 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons
t Vector<String>& removedSelectors) OVERRIDE; | 114 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons
t Vector<String>& removedSelectors) OVERRIDE; |
114 virtual PassRefPtr<DocumentLoader> createDocumentLoader(LocalFrame*, const R
esourceRequest&, const SubstituteData&) OVERRIDE; | 115 virtual PassRefPtr<DocumentLoader> createDocumentLoader(LocalFrame*, const R
esourceRequest&, const SubstituteData&) OVERRIDE; |
115 virtual WTF::String userAgent(const KURL&) OVERRIDE; | 116 virtual WTF::String userAgent(const KURL&) OVERRIDE; |
116 virtual WTF::String doNotTrackValue() OVERRIDE; | 117 virtual WTF::String doNotTrackValue() OVERRIDE; |
117 virtual void transitionToCommittedForNewPage() OVERRIDE; | 118 virtual void transitionToCommittedForNewPage() OVERRIDE; |
118 virtual PassRefPtr<LocalFrame> createFrame(const KURL&, const WTF::AtomicStr
ing& name, const Referrer&, HTMLFrameOwnerElement*) OVERRIDE; | 119 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, const WT
F::AtomicString& name, const Referrer&, HTMLFrameOwnerElement*) OVERRIDE; |
119 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; | 120 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; |
120 virtual PassRefPtr<Widget> createPlugin( | 121 virtual PassRefPtr<Widget> createPlugin( |
121 HTMLPlugInElement*, const KURL&, | 122 HTMLPlugInElement*, const KURL&, |
122 const Vector<WTF::String>&, const Vector<WTF::String>&, | 123 const Vector<WTF::String>&, const Vector<WTF::String>&, |
123 const WTF::String&, bool loadManually, DetachedPluginPolicy) OVERRIDE; | 124 const WTF::String&, bool loadManually, DetachedPluginPolicy) OVERRIDE; |
124 virtual PassRefPtr<Widget> createJavaAppletWidget( | 125 virtual PassRefPtr<Widget> createJavaAppletWidget( |
125 HTMLAppletElement*, | 126 HTMLAppletElement*, |
126 const KURL& /* base_url */, | 127 const KURL& /* base_url */, |
127 const Vector<WTF::String>& paramNames, | 128 const Vector<WTF::String>& paramNames, |
128 const Vector<WTF::String>& paramValues) OVERRIDE; | 129 const Vector<WTF::String>& paramValues) OVERRIDE; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 // The WebFrame that owns this object and manages its lifetime. Therefore, | 176 // The WebFrame that owns this object and manages its lifetime. Therefore, |
176 // the web frame object is guaranteed to exist. | 177 // the web frame object is guaranteed to exist. |
177 WebLocalFrameImpl* m_webFrame; | 178 WebLocalFrameImpl* m_webFrame; |
178 }; | 179 }; |
179 | 180 |
180 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 181 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
181 | 182 |
182 } // namespace blink | 183 } // namespace blink |
183 | 184 |
184 #endif | 185 #endif |
OLD | NEW |