Chromium Code Reviews| 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 23 matching lines...) Expand all Loading... | |
| 34 #include "core/dom/Document.h" | 34 #include "core/dom/Document.h" |
| 35 #include "core/dom/IconURL.h" | 35 #include "core/dom/IconURL.h" |
| 36 #include "core/fetch/ResourceLoaderOptions.h" | 36 #include "core/fetch/ResourceLoaderOptions.h" |
| 37 #include "core/frame/FrameClient.h" | 37 #include "core/frame/FrameClient.h" |
| 38 #include "core/html/LinkResource.h" | 38 #include "core/html/LinkResource.h" |
| 39 #include "core/loader/FrameLoaderTypes.h" | 39 #include "core/loader/FrameLoaderTypes.h" |
| 40 #include "core/loader/NavigationPolicy.h" | 40 #include "core/loader/NavigationPolicy.h" |
| 41 #include "platform/heap/Handle.h" | 41 #include "platform/heap/Handle.h" |
| 42 #include "platform/network/ResourceLoadPriority.h" | 42 #include "platform/network/ResourceLoadPriority.h" |
| 43 #include "platform/weborigin/Referrer.h" | 43 #include "platform/weborigin/Referrer.h" |
| 44 #include "public/platform/WebLoadingData.h" | |
| 44 #include "wtf/Forward.h" | 45 #include "wtf/Forward.h" |
| 45 #include "wtf/Vector.h" | 46 #include "wtf/Vector.h" |
| 46 #include <v8.h> | 47 #include <v8.h> |
| 47 | 48 |
| 48 namespace blink { | 49 namespace blink { |
| 49 | 50 |
| 50 class Document; | 51 class Document; |
| 51 class DocumentLoader; | 52 class DocumentLoader; |
| 52 class FetchRequest; | 53 class FetchRequest; |
| 53 class HTMLFormElement; | 54 class HTMLFormElement; |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 133 // The given main resource displayed content with certificate errors | 134 // The given main resource displayed content with certificate errors |
| 134 // with the given URL and security info. | 135 // with the given URL and security info. |
| 135 virtual void didDisplayContentWithCertificateErrors(const KURL&, const CStri ng& securityInfo, const WebURL& mainResourceUrl, const CString& mainResourceSecu rityInfo) = 0; | 136 virtual void didDisplayContentWithCertificateErrors(const KURL&, const CStri ng& securityInfo, const WebURL& mainResourceUrl, const CString& mainResourceSecu rityInfo) = 0; |
| 136 // The given main resource ran content with certificate errors with | 137 // The given main resource ran content with certificate errors with |
| 137 // the given URL and security info. | 138 // the given URL and security info. |
| 138 virtual void didRunContentWithCertificateErrors(const KURL&, const CString& securityInfo, const WebURL& mainResourceUrl, const CString& mainResourceSecurity Info) = 0; | 139 virtual void didRunContentWithCertificateErrors(const KURL&, const CString& securityInfo, const WebURL& mainResourceUrl, const CString& mainResourceSecurity Info) = 0; |
| 139 | 140 |
| 140 // Will be called when |PerformanceTiming| events are updated | 141 // Will be called when |PerformanceTiming| events are updated |
| 141 virtual void didChangePerformanceTiming() { } | 142 virtual void didChangePerformanceTiming() { } |
| 142 | 143 |
| 144 // Will be called when a particular loading code path has been used. This | |
| 145 // propogates renderer loading data to the browser for histograms. | |
|
Charlie Harrison
2016/04/05 22:26:06
"browser process"
Charlie Harrison
2016/04/06 14:24:51
Done.
| |
| 146 virtual void didObserveLoadingBehavior(WebLoadingData) { } | |
| 147 | |
| 143 // Transmits the change in the set of watched CSS selectors property | 148 // Transmits the change in the set of watched CSS selectors property |
| 144 // that match any element on the frame. | 149 // that match any element on the frame. |
| 145 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons t Vector<String>& removedSelectors) = 0; | 150 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons t Vector<String>& removedSelectors) = 0; |
| 146 | 151 |
| 147 virtual DocumentLoader* createDocumentLoader(LocalFrame*, const ResourceRequ est&, const SubstituteData&) = 0; | 152 virtual DocumentLoader* createDocumentLoader(LocalFrame*, const ResourceRequ est&, const SubstituteData&) = 0; |
| 148 | 153 |
| 149 virtual String userAgent() = 0; | 154 virtual String userAgent() = 0; |
| 150 | 155 |
| 151 virtual String doNotTrackValue() = 0; | 156 virtual String doNotTrackValue() = 0; |
| 152 | 157 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 255 UnloadHandler, | 260 UnloadHandler, |
| 256 }; | 261 }; |
| 257 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { } | 262 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { } |
| 258 | 263 |
| 259 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re turn nullptr; } | 264 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re turn nullptr; } |
| 260 }; | 265 }; |
| 261 | 266 |
| 262 } // namespace blink | 267 } // namespace blink |
| 263 | 268 |
| 264 #endif // FrameLoaderClient_h | 269 #endif // FrameLoaderClient_h |
| OLD | NEW |