| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 virtual void didRunInsecureContent(WebCore::SecurityOrigin*, const WebCore::
KURL& insecureURL); | 107 virtual void didRunInsecureContent(WebCore::SecurityOrigin*, const WebCore::
KURL& insecureURL); |
| 108 virtual void didDetectXSS(const WebCore::KURL&, bool didBlockEntirePage); | 108 virtual void didDetectXSS(const WebCore::KURL&, bool didBlockEntirePage); |
| 109 virtual void didDispatchPingLoader(const WebCore::KURL&); | 109 virtual void didDispatchPingLoader(const WebCore::KURL&); |
| 110 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons
t Vector<String>& removedSelectors); | 110 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons
t Vector<String>& removedSelectors); |
| 111 virtual PassRefPtr<WebCore::DocumentLoader> createDocumentLoader( | 111 virtual PassRefPtr<WebCore::DocumentLoader> createDocumentLoader( |
| 112 const WebCore::ResourceRequest&, const WebCore::SubstituteData&); | 112 const WebCore::ResourceRequest&, const WebCore::SubstituteData&); |
| 113 virtual WTF::String userAgent(const WebCore::KURL&); | 113 virtual WTF::String userAgent(const WebCore::KURL&); |
| 114 virtual WTF::String doNotTrackValue(); | 114 virtual WTF::String doNotTrackValue(); |
| 115 virtual void transitionToCommittedForNewPage(); | 115 virtual void transitionToCommittedForNewPage(); |
| 116 virtual PassRefPtr<WebCore::Frame> createFrame(const WebCore::KURL&, const W
TF::String& name, const WTF::String& referrer, WebCore::HTMLFrameOwnerElement*); | 116 virtual PassRefPtr<WebCore::Frame> createFrame(const WebCore::KURL&, const W
TF::String& name, const WTF::String& referrer, WebCore::HTMLFrameOwnerElement*); |
| 117 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; |
| 117 virtual PassRefPtr<WebCore::Widget> createPlugin( | 118 virtual PassRefPtr<WebCore::Widget> createPlugin( |
| 118 const WebCore::IntSize&, WebCore::HTMLPlugInElement*, const WebCore::KUR
L&, | 119 const WebCore::IntSize&, WebCore::HTMLPlugInElement*, const WebCore::KUR
L&, |
| 119 const Vector<WTF::String>&, const Vector<WTF::String>&, | 120 const Vector<WTF::String>&, const Vector<WTF::String>&, |
| 120 const WTF::String&, bool loadManually); | 121 const WTF::String&, bool loadManually, PluginLoadType = PluginLoadRequir
esRenderer); |
| 121 virtual PassRefPtr<WebCore::Widget> createJavaAppletWidget( | 122 virtual PassRefPtr<WebCore::Widget> createJavaAppletWidget( |
| 122 const WebCore::IntSize&, | 123 const WebCore::IntSize&, |
| 123 WebCore::HTMLAppletElement*, | 124 WebCore::HTMLAppletElement*, |
| 124 const WebCore::KURL& /* base_url */, | 125 const WebCore::KURL& /* base_url */, |
| 125 const Vector<WTF::String>& paramNames, | 126 const Vector<WTF::String>& paramNames, |
| 126 const Vector<WTF::String>& paramValues); | 127 const Vector<WTF::String>& paramValues); |
| 127 virtual WebCore::ObjectContentType objectContentType( | 128 virtual WebCore::ObjectContentType objectContentType( |
| 128 const WebCore::KURL&, const WTF::String& mimeType, bool shouldPreferPlug
InsForImages); | 129 const WebCore::KURL&, const WTF::String& mimeType, bool shouldPreferPlug
InsForImages); |
| 129 virtual void didChangeScrollOffset(); | 130 virtual void didChangeScrollOffset(); |
| 130 virtual bool allowScript(bool enabledPerSettings); | 131 virtual bool allowScript(bool enabledPerSettings); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 | 169 |
| 169 inline FrameLoaderClientImpl* toFrameLoaderClientImpl(WebCore::FrameLoaderClient
* client) | 170 inline FrameLoaderClientImpl* toFrameLoaderClientImpl(WebCore::FrameLoaderClient
* client) |
| 170 { | 171 { |
| 171 ASSERT_WITH_SECURITY_IMPLICATION(!client || client->isFrameLoaderClientImpl(
)); | 172 ASSERT_WITH_SECURITY_IMPLICATION(!client || client->isFrameLoaderClientImpl(
)); |
| 172 return static_cast<FrameLoaderClientImpl*>(client); | 173 return static_cast<FrameLoaderClientImpl*>(client); |
| 173 } | 174 } |
| 174 | 175 |
| 175 } // namespace blink | 176 } // namespace blink |
| 176 | 177 |
| 177 #endif | 178 #endif |
| OLD | NEW |