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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 // insecure source. Inactive content cannot spread to other frames. | 130 // insecure source. Inactive content cannot spread to other frames. |
131 virtual void didDisplayInsecureContent() = 0; | 131 virtual void didDisplayInsecureContent() = 0; |
132 | 132 |
133 // The indicated security origin has run active content (such as a | 133 // The indicated security origin has run active content (such as a |
134 // script) from an insecure source. Note that the insecure content can | 134 // script) from an insecure source. Note that the insecure content can |
135 // spread to other frames in the same origin. | 135 // spread to other frames in the same origin. |
136 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) = 0; | 136 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) = 0; |
137 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) = 0; | 137 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) = 0; |
138 virtual void didDispatchPingLoader(const KURL&) = 0; | 138 virtual void didDispatchPingLoader(const KURL&) = 0; |
139 | 139 |
140 // The frame displayed content with certificate errors with the | 140 // The frame displayed content with certificate errors with given URL. |
141 // given URL and security info. | 141 virtual void didDisplayContentWithCertificateErrors(const KURL&) = 0; |
142 virtual void didDisplayContentWithCertificateErrors(const KURL&, const CStri
ng& securityInfo) = 0; | 142 // The frame ran content with certificate errors with the given URL. |
143 // The frame ran content with certificate errors with the given URL | 143 virtual void didRunContentWithCertificateErrors(const KURL&) = 0; |
144 // and security info. | |
145 virtual void didRunContentWithCertificateErrors(const KURL&, const CString&
securityInfo) = 0; | |
146 | 144 |
147 // Will be called when |PerformanceTiming| events are updated | 145 // Will be called when |PerformanceTiming| events are updated |
148 virtual void didChangePerformanceTiming() { } | 146 virtual void didChangePerformanceTiming() { } |
149 | 147 |
150 // Will be called when a particular loading code path has been used. This | 148 // Will be called when a particular loading code path has been used. This |
151 // propogates renderer loading behavior to the browser process for | 149 // propogates renderer loading behavior to the browser process for |
152 // histograms. | 150 // histograms. |
153 virtual void didObserveLoadingBehavior(WebLoadingBehaviorFlag) { } | 151 virtual void didObserveLoadingBehavior(WebLoadingBehaviorFlag) { } |
154 | 152 |
155 // Transmits the change in the set of watched CSS selectors property | 153 // Transmits the change in the set of watched CSS selectors property |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web
EffectiveConnectionType::TypeUnknown; } | 267 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web
EffectiveConnectionType::TypeUnknown; } |
270 | 268 |
271 // Overwrites the given URL to use an HTML5 embed if possible. | 269 // Overwrites the given URL to use an HTML5 embed if possible. |
272 // An empty URL is returned if the URL is not overriden. | 270 // An empty URL is returned if the URL is not overriden. |
273 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } | 271 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } |
274 }; | 272 }; |
275 | 273 |
276 } // namespace blink | 274 } // namespace blink |
277 | 275 |
278 #endif // FrameLoaderClient_h | 276 #endif // FrameLoaderClient_h |
OLD | NEW |