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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 // insecure source. Inactive content cannot spread to other frames. | 122 // insecure source. Inactive content cannot spread to other frames. |
123 virtual void didDisplayInsecureContent() = 0; | 123 virtual void didDisplayInsecureContent() = 0; |
124 | 124 |
125 // The indicated security origin has run active content (such as a | 125 // The indicated security origin has run active content (such as a |
126 // script) from an insecure source. Note that the insecure content can | 126 // script) from an insecure source. Note that the insecure content can |
127 // spread to other frames in the same origin. | 127 // spread to other frames in the same origin. |
128 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) = 0; | 128 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) = 0; |
129 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) = 0; | 129 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) = 0; |
130 virtual void didDispatchPingLoader(const KURL&) = 0; | 130 virtual void didDispatchPingLoader(const KURL&) = 0; |
131 | 131 |
| 132 // The given main resource displayed content with certificate errors |
| 133 // with the given URL and security info. |
| 134 virtual void didDisplayContentWithCertificateErrors(const KURL&, const CStri
ng& securityInfo, const WebURL& mainResourceUrl, const CString& mainResourceSecu
rityInfo) = 0; |
| 135 // The given main resource ran content with certificate errors with |
| 136 // the given URL and security info. |
| 137 virtual void didRunContentWithCertificateErrors(const KURL&, const CString&
securityInfo, const WebURL& mainResourceUrl, const CString& mainResourceSecurity
Info) = 0; |
| 138 |
132 // Will be called when |PerformanceTiming| events are updated | 139 // Will be called when |PerformanceTiming| events are updated |
133 virtual void didChangePerformanceTiming() { } | 140 virtual void didChangePerformanceTiming() { } |
134 | 141 |
135 // Transmits the change in the set of watched CSS selectors property | 142 // Transmits the change in the set of watched CSS selectors property |
136 // that match any element on the frame. | 143 // that match any element on the frame. |
137 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons
t Vector<String>& removedSelectors) = 0; | 144 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons
t Vector<String>& removedSelectors) = 0; |
138 | 145 |
139 virtual PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFra
me*, const ResourceRequest&, const SubstituteData&) = 0; | 146 virtual PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFra
me*, const ResourceRequest&, const SubstituteData&) = 0; |
140 | 147 |
141 virtual String userAgent() = 0; | 148 virtual String userAgent() = 0; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 BeforeUnloadHandler, | 246 BeforeUnloadHandler, |
240 UnloadHandler, | 247 UnloadHandler, |
241 }; | 248 }; |
242 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } | 249 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } |
243 | 250 |
244 }; | 251 }; |
245 | 252 |
246 } // namespace blink | 253 } // namespace blink |
247 | 254 |
248 #endif // FrameLoaderClient_h | 255 #endif // FrameLoaderClient_h |
OLD | NEW |