| 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 // insecure source. Inactive content cannot spread to other frames. | 145 // insecure source. Inactive content cannot spread to other frames. |
| 146 virtual void didDisplayInsecureContent() = 0; | 146 virtual void didDisplayInsecureContent() = 0; |
| 147 | 147 |
| 148 // The indicated security origin has run active content (such as a | 148 // The indicated security origin has run active content (such as a |
| 149 // script) from an insecure source. Note that the insecure content can | 149 // script) from an insecure source. Note that the insecure content can |
| 150 // spread to other frames in the same origin. | 150 // spread to other frames in the same origin. |
| 151 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) = 0; | 151 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) = 0; |
| 152 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) = 0; | 152 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) = 0; |
| 153 virtual void didDispatchPingLoader(const KURL&) = 0; | 153 virtual void didDispatchPingLoader(const KURL&) = 0; |
| 154 | 154 |
| 155 // Transmits the change in the set of watched CSS selectors property |
| 156 // that match any element on the frame. |
| 157 virtual void selectorMatchChanged(const Vector<String>& addedSelectors,
const Vector<String>& removedSelectors) = 0; |
| 158 |
| 155 virtual ResourceError interruptedForPolicyChangeError(const ResourceRequ
est&) = 0; | 159 virtual ResourceError interruptedForPolicyChangeError(const ResourceRequ
est&) = 0; |
| 156 | 160 |
| 157 virtual PassRefPtr<DocumentLoader> createDocumentLoader(const ResourceRe
quest&, const SubstituteData&) = 0; | 161 virtual PassRefPtr<DocumentLoader> createDocumentLoader(const ResourceRe
quest&, const SubstituteData&) = 0; |
| 158 | 162 |
| 159 virtual String userAgent(const KURL&) = 0; | 163 virtual String userAgent(const KURL&) = 0; |
| 160 | 164 |
| 161 virtual String doNotTrackValue() = 0; | 165 virtual String doNotTrackValue() = 0; |
| 162 | 166 |
| 163 virtual void transitionToCommittedForNewPage() = 0; | 167 virtual void transitionToCommittedForNewPage() = 0; |
| 164 | 168 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 | 220 |
| 217 // If an HTML document is being loaded, informs the embedder that the do
cument will have its <body> attached soon. | 221 // If an HTML document is being loaded, informs the embedder that the do
cument will have its <body> attached soon. |
| 218 virtual void dispatchWillInsertBody() { } | 222 virtual void dispatchWillInsertBody() { } |
| 219 | 223 |
| 220 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie
r*/, ResourceLoadPriority) { } | 224 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie
r*/, ResourceLoadPriority) { } |
| 221 }; | 225 }; |
| 222 | 226 |
| 223 } // namespace WebCore | 227 } // namespace WebCore |
| 224 | 228 |
| 225 #endif // FrameLoaderClient_h | 229 #endif // FrameLoaderClient_h |
| OLD | NEW |