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 | |
139 // Will be called when |PerformanceTiming| events are updated | 132 // Will be called when |PerformanceTiming| events are updated |
140 virtual void didChangePerformanceTiming() { } | 133 virtual void didChangePerformanceTiming() { } |
141 | 134 |
142 // Transmits the change in the set of watched CSS selectors property | 135 // Transmits the change in the set of watched CSS selectors property |
143 // that match any element on the frame. | 136 // that match any element on the frame. |
144 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons
t Vector<String>& removedSelectors) = 0; | 137 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons
t Vector<String>& removedSelectors) = 0; |
145 | 138 |
146 virtual PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFra
me*, const ResourceRequest&, const SubstituteData&) = 0; | 139 virtual PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFra
me*, const ResourceRequest&, const SubstituteData&) = 0; |
147 | 140 |
148 virtual String userAgent() = 0; | 141 virtual String userAgent() = 0; |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 BeforeUnloadHandler, | 237 BeforeUnloadHandler, |
245 UnloadHandler, | 238 UnloadHandler, |
246 }; | 239 }; |
247 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } | 240 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } |
248 | 241 |
249 }; | 242 }; |
250 | 243 |
251 } // namespace blink | 244 } // namespace blink |
252 | 245 |
253 #endif // FrameLoaderClient_h | 246 #endif // FrameLoaderClient_h |
OLD | NEW |