| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. |
| 3 * Copyright (C) 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2012 Google 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 | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 | 144 |
| 145 // This frame has displayed inactive content (such as an image) from an | 145 // This frame has displayed inactive content (such as an image) from an |
| 146 // insecure source. Inactive content cannot spread to other frames. | 146 // insecure source. Inactive content cannot spread to other frames. |
| 147 virtual void didDisplayInsecureContent() = 0; | 147 virtual void didDisplayInsecureContent() = 0; |
| 148 | 148 |
| 149 // The indicated security origin has run active content (such as a | 149 // The indicated security origin has run active content (such as a |
| 150 // script) from an insecure source. Note that the insecure content can | 150 // script) from an insecure source. Note that the insecure content can |
| 151 // spread to other frames in the same origin. | 151 // spread to other frames in the same origin. |
| 152 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) = 0; | 152 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) = 0; |
| 153 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) = 0; | 153 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) = 0; |
| 154 virtual void didDispatchPingLoader(const KURL&) = 0; |
| 154 | 155 |
| 155 virtual ResourceError interruptedForPolicyChangeError(const ResourceRequ
est&) = 0; | 156 virtual ResourceError interruptedForPolicyChangeError(const ResourceRequ
est&) = 0; |
| 156 | 157 |
| 157 virtual PassRefPtr<DocumentLoader> createDocumentLoader(const ResourceRe
quest&, const SubstituteData&) = 0; | 158 virtual PassRefPtr<DocumentLoader> createDocumentLoader(const ResourceRe
quest&, const SubstituteData&) = 0; |
| 158 | 159 |
| 159 virtual String userAgent(const KURL&) = 0; | 160 virtual String userAgent(const KURL&) = 0; |
| 160 | 161 |
| 161 virtual String doNotTrackValue() = 0; | 162 virtual String doNotTrackValue() = 0; |
| 162 | 163 |
| 163 virtual void transitionToCommittedForNewPage() = 0; | 164 virtual void transitionToCommittedForNewPage() = 0; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 | 217 |
| 217 // If an HTML document is being loaded, informs the embedder that the do
cument will have its <body> attached soon. | 218 // If an HTML document is being loaded, informs the embedder that the do
cument will have its <body> attached soon. |
| 218 virtual void dispatchWillInsertBody() { } | 219 virtual void dispatchWillInsertBody() { } |
| 219 | 220 |
| 220 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie
r*/, ResourceLoadPriority) { } | 221 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie
r*/, ResourceLoadPriority) { } |
| 221 }; | 222 }; |
| 222 | 223 |
| 223 } // namespace WebCore | 224 } // namespace WebCore |
| 224 | 225 |
| 225 #endif // FrameLoaderClient_h | 226 #endif // FrameLoaderClient_h |
| OLD | NEW |