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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 virtual void didRunInsecureContent(SecurityOrigin*, const KURL& insecureURL)
override; | 111 virtual void didRunInsecureContent(SecurityOrigin*, const KURL& insecureURL)
override; |
112 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) override; | 112 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) override; |
113 virtual void didDispatchPingLoader(const KURL&) override; | 113 virtual void didDispatchPingLoader(const KURL&) override; |
114 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; |
115 virtual PassRefPtr<DocumentLoader> createDocumentLoader(LocalFrame*, const R
esourceRequest&, const SubstituteData&) override; | 115 virtual PassRefPtr<DocumentLoader> createDocumentLoader(LocalFrame*, const R
esourceRequest&, const SubstituteData&) override; |
116 virtual WTF::String userAgent(const KURL&) override; | 116 virtual WTF::String userAgent(const KURL&) override; |
117 virtual WTF::String doNotTrackValue() override; | 117 virtual WTF::String doNotTrackValue() override; |
118 virtual void transitionToCommittedForNewPage() override; | 118 virtual void transitionToCommittedForNewPage() override; |
119 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, const WT
F::AtomicString& name, HTMLFrameOwnerElement*) override; | 119 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, const WT
F::AtomicString& name, HTMLFrameOwnerElement*) override; |
120 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; | 120 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; |
121 virtual PassRefPtr<Widget> createPlugin( | 121 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin( |
122 HTMLPlugInElement*, const KURL&, | 122 HTMLPlugInElement*, const KURL&, |
123 const Vector<WTF::String>&, const Vector<WTF::String>&, | 123 const Vector<WTF::String>&, const Vector<WTF::String>&, |
124 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; | 124 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; |
125 virtual PassRefPtr<Widget> createJavaAppletWidget( | 125 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget( |
126 HTMLAppletElement*, | 126 HTMLAppletElement*, |
127 const KURL& /* base_url */, | 127 const KURL& /* base_url */, |
128 const Vector<WTF::String>& paramNames, | 128 const Vector<WTF::String>& paramNames, |
129 const Vector<WTF::String>& paramValues) override; | 129 const Vector<WTF::String>& paramValues) override; |
130 virtual ObjectContentType objectContentType( | 130 virtual ObjectContentType objectContentType( |
131 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; | 131 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; |
132 virtual void didChangeScrollOffset() override; | 132 virtual void didChangeScrollOffset() override; |
133 virtual void didUpdateCurrentHistoryItem() override; | 133 virtual void didUpdateCurrentHistoryItem() override; |
134 virtual void didRemoveAllPendingStylesheet() override; | 134 virtual void didRemoveAllPendingStylesheet() override; |
135 virtual bool allowScript(bool enabledPerSettings) override; | 135 virtual bool allowScript(bool enabledPerSettings) override; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 // The WebFrame that owns this object and manages its lifetime. Therefore, | 176 // The WebFrame that owns this object and manages its lifetime. Therefore, |
177 // the web frame object is guaranteed to exist. | 177 // the web frame object is guaranteed to exist. |
178 WebLocalFrameImpl* m_webFrame; | 178 WebLocalFrameImpl* m_webFrame; |
179 }; | 179 }; |
180 | 180 |
181 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 181 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
182 | 182 |
183 } // namespace blink | 183 } // namespace blink |
184 | 184 |
185 #endif | 185 #endif |
OLD | NEW |