| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "WebHistoryItem.h" | 43 #include "WebHistoryItem.h" |
| 44 #include "WebIconURL.h" | 44 #include "WebIconURL.h" |
| 45 #include "WebNavigationPolicy.h" | 45 #include "WebNavigationPolicy.h" |
| 46 #include "WebNavigationType.h" | 46 #include "WebNavigationType.h" |
| 47 #include "WebNavigatorContentUtilsClient.h" | 47 #include "WebNavigatorContentUtilsClient.h" |
| 48 #include "WebSandboxFlags.h" | 48 #include "WebSandboxFlags.h" |
| 49 #include "WebTextDirection.h" | 49 #include "WebTextDirection.h" |
| 50 #include "public/platform/BlameContext.h" | 50 #include "public/platform/BlameContext.h" |
| 51 #include "public/platform/WebCommon.h" | 51 #include "public/platform/WebCommon.h" |
| 52 #include "public/platform/WebEffectiveConnectionType.h" | 52 #include "public/platform/WebEffectiveConnectionType.h" |
| 53 #include "public/platform/WebFeaturePolicy.h" |
| 53 #include "public/platform/WebFileSystem.h" | 54 #include "public/platform/WebFileSystem.h" |
| 54 #include "public/platform/WebFileSystemType.h" | 55 #include "public/platform/WebFileSystemType.h" |
| 55 #include "public/platform/WebInsecureRequestPolicy.h" | 56 #include "public/platform/WebInsecureRequestPolicy.h" |
| 56 #include "public/platform/WebLoadingBehaviorFlag.h" | 57 #include "public/platform/WebLoadingBehaviorFlag.h" |
| 57 #include "public/platform/WebPageVisibilityState.h" | 58 #include "public/platform/WebPageVisibilityState.h" |
| 58 #include "public/platform/WebSecurityOrigin.h" | 59 #include "public/platform/WebSecurityOrigin.h" |
| 59 #include "public/platform/WebSetSinkIdCallbacks.h" | 60 #include "public/platform/WebSetSinkIdCallbacks.h" |
| 60 #include "public/platform/WebStorageQuotaCallbacks.h" | 61 #include "public/platform/WebStorageQuotaCallbacks.h" |
| 61 #include "public/platform/WebStorageQuotaType.h" | 62 #include "public/platform/WebStorageQuotaType.h" |
| 62 #include "public/platform/WebURLError.h" | 63 #include "public/platform/WebURLError.h" |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 // the CSP spec and should be ripped out. https://crbug.com/594645 | 225 // the CSP spec and should be ripped out. https://crbug.com/594645 |
| 225 virtual void didUpdateToUniqueOrigin( | 226 virtual void didUpdateToUniqueOrigin( |
| 226 bool isPotentiallyTrustworthyUniqueOrigin) {} | 227 bool isPotentiallyTrustworthyUniqueOrigin) {} |
| 227 | 228 |
| 228 // The sandbox flags have changed for a child frame of this frame. | 229 // The sandbox flags have changed for a child frame of this frame. |
| 229 virtual void didChangeSandboxFlags(WebFrame* childFrame, | 230 virtual void didChangeSandboxFlags(WebFrame* childFrame, |
| 230 WebSandboxFlags flags) {} | 231 WebSandboxFlags flags) {} |
| 231 | 232 |
| 232 // Called when a Feature-Policy HTTP header is encountered while loading the | 233 // Called when a Feature-Policy HTTP header is encountered while loading the |
| 233 // frame's document. | 234 // frame's document. |
| 234 virtual void didSetFeaturePolicyHeader(const WebString& headerValue) {} | 235 virtual void didSetFeaturePolicyHeader( |
| 236 const WebParsedFeaturePolicy& parsedHeader) {} |
| 235 | 237 |
| 236 // Called when a new Content Security Policy is added to the frame's | 238 // Called when a new Content Security Policy is added to the frame's |
| 237 // document. This can be triggered by handling of HTTP headers, handling | 239 // document. This can be triggered by handling of HTTP headers, handling |
| 238 // of <meta> element, or by inheriting CSP from the parent (in case of | 240 // of <meta> element, or by inheriting CSP from the parent (in case of |
| 239 // about:blank). | 241 // about:blank). |
| 240 virtual void didAddContentSecurityPolicy(const WebString& headerValue, | 242 virtual void didAddContentSecurityPolicy(const WebString& headerValue, |
| 241 WebContentSecurityPolicyType, | 243 WebContentSecurityPolicyType, |
| 242 WebContentSecurityPolicySource) {} | 244 WebContentSecurityPolicySource) {} |
| 243 | 245 |
| 244 // Some frame owner properties have changed for a child frame of this frame. | 246 // Some frame owner properties have changed for a child frame of this frame. |
| (...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 758 // Overwrites the given URL to use an HTML5 embed if possible. | 760 // Overwrites the given URL to use an HTML5 embed if possible. |
| 759 // An empty URL is returned if the URL is not overriden. | 761 // An empty URL is returned if the URL is not overriden. |
| 760 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { | 762 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { |
| 761 return WebURL(); | 763 return WebURL(); |
| 762 } | 764 } |
| 763 }; | 765 }; |
| 764 | 766 |
| 765 } // namespace blink | 767 } // namespace blink |
| 766 | 768 |
| 767 #endif | 769 #endif |
| OLD | NEW |