Chromium Code Reviews| 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 "WebNavigationPolicy.h" | 43 #include "WebNavigationPolicy.h" |
| 44 #include "WebNavigationType.h" | 44 #include "WebNavigationType.h" |
| 45 #include "WebNavigatorContentUtilsClient.h" | 45 #include "WebNavigatorContentUtilsClient.h" |
| 46 #include "WebSandboxFlags.h" | 46 #include "WebSandboxFlags.h" |
| 47 #include "WebTextDirection.h" | 47 #include "WebTextDirection.h" |
| 48 #include "public/platform/BlameContext.h" | 48 #include "public/platform/BlameContext.h" |
| 49 #include "public/platform/WebCommon.h" | 49 #include "public/platform/WebCommon.h" |
| 50 #include "public/platform/WebEffectiveConnectionType.h" | 50 #include "public/platform/WebEffectiveConnectionType.h" |
| 51 #include "public/platform/WebFileSystem.h" | 51 #include "public/platform/WebFileSystem.h" |
| 52 #include "public/platform/WebFileSystemType.h" | 52 #include "public/platform/WebFileSystemType.h" |
| 53 #include "public/platform/WebInsecureRequestPolicy.h" | |
| 53 #include "public/platform/WebLoadingBehaviorFlag.h" | 54 #include "public/platform/WebLoadingBehaviorFlag.h" |
| 54 #include "public/platform/WebSecurityOrigin.h" | 55 #include "public/platform/WebSecurityOrigin.h" |
| 55 #include "public/platform/WebSetSinkIdCallbacks.h" | 56 #include "public/platform/WebSetSinkIdCallbacks.h" |
| 56 #include "public/platform/WebStorageQuotaCallbacks.h" | 57 #include "public/platform/WebStorageQuotaCallbacks.h" |
| 57 #include "public/platform/WebStorageQuotaType.h" | 58 #include "public/platform/WebStorageQuotaType.h" |
| 58 #include "public/platform/WebURLError.h" | 59 #include "public/platform/WebURLError.h" |
| 59 #include "public/platform/WebURLRequest.h" | 60 #include "public/platform/WebURLRequest.h" |
| 60 #include "public/web/WebContentSecurityPolicy.h" | 61 #include "public/web/WebContentSecurityPolicy.h" |
| 61 #include <v8.h> | 62 #include <v8.h> |
| 62 | 63 |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 177 // This frame has become focused.. | 178 // This frame has become focused.. |
| 178 virtual void frameFocused() { } | 179 virtual void frameFocused() { } |
| 179 | 180 |
| 180 // This frame is about to be closed. This is called after frameDetached, | 181 // This frame is about to be closed. This is called after frameDetached, |
| 181 // when the document is being unloaded, due to new one committing. | 182 // when the document is being unloaded, due to new one committing. |
| 182 virtual void willClose(WebFrame*) { } | 183 virtual void willClose(WebFrame*) { } |
| 183 | 184 |
| 184 // This frame's name has changed. | 185 // This frame's name has changed. |
| 185 virtual void didChangeName(const WebString& name, const WebString& uniqueNam e) { } | 186 virtual void didChangeName(const WebString& name, const WebString& uniqueNam e) { } |
| 186 | 187 |
| 187 // This frame has been set to enforce strict mixed content checking. | 188 // This frame has set an insecure request policy. |
| 188 virtual void didEnforceStrictMixedContentChecking() {} | 189 virtual void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy policy ) {} |
|
alexmos
2016/06/07 19:00:06
nit: can drop "policy" from declaration.
Mike West
2016/06/08 07:21:12
Indeed!
| |
| 189 | 190 |
| 190 // This frame has been updated to a unique origin, which should be | 191 // This frame has been updated to a unique origin, which should be |
| 191 // considered potentially trustworthy if | 192 // considered potentially trustworthy if |
| 192 // |isPotentiallyTrustworthyUniqueOrigin| is true. TODO(estark): | 193 // |isPotentiallyTrustworthyUniqueOrigin| is true. TODO(estark): |
| 193 // this method only exists to support dynamic sandboxing via a CSP | 194 // this method only exists to support dynamic sandboxing via a CSP |
| 194 // delivered in a <meta> tag. This is not supposed to be allowed per | 195 // delivered in a <meta> tag. This is not supposed to be allowed per |
| 195 // the CSP spec and should be ripped out. https://crbug.com/594645 | 196 // the CSP spec and should be ripped out. https://crbug.com/594645 |
| 196 virtual void didUpdateToUniqueOrigin(bool isPotentiallyTrustworthyUniqueOrig in) {} | 197 virtual void didUpdateToUniqueOrigin(bool isPotentiallyTrustworthyUniqueOrig in) {} |
| 197 | 198 |
| 198 // The sandbox flags have changed for a child frame of this frame. | 199 // The sandbox flags have changed for a child frame of this frame. |
| (...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 704 // Mojo ---------------------------------------------------------------- | 705 // Mojo ---------------------------------------------------------------- |
| 705 virtual ServiceRegistry* serviceRegistry() { return nullptr; } | 706 virtual ServiceRegistry* serviceRegistry() { return nullptr; } |
| 706 | 707 |
| 707 protected: | 708 protected: |
| 708 virtual ~WebFrameClient() { } | 709 virtual ~WebFrameClient() { } |
| 709 }; | 710 }; |
| 710 | 711 |
| 711 } // namespace blink | 712 } // namespace blink |
| 712 | 713 |
| 713 #endif | 714 #endif |
| OLD | NEW |