| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <list> | 10 #include <list> |
| (...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 // Sends the newly added Content Security Policy header to all the proxies. | 428 // Sends the newly added Content Security Policy header to all the proxies. |
| 429 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); | 429 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); |
| 430 | 430 |
| 431 // Resets Content Security Policy in all the proxies. | 431 // Resets Content Security Policy in all the proxies. |
| 432 void OnDidResetContentSecurityPolicy(); | 432 void OnDidResetContentSecurityPolicy(); |
| 433 | 433 |
| 434 // Sends updated enforcement of insecure request policy to all frame proxies | 434 // Sends updated enforcement of insecure request policy to all frame proxies |
| 435 // when the frame changes its setting. | 435 // when the frame changes its setting. |
| 436 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); | 436 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); |
| 437 | 437 |
| 438 // Sends updated enforcement of upgrade insecure navigations set to all frame |
| 439 // proxies when the frame changes its setting. |
| 440 void OnEnforceInsecureNavigationsSet( |
| 441 const std::vector<uint32_t>& insecure_navigations_set); |
| 442 |
| 438 // Called on a frame to notify it that its out-of-process parent frame | 443 // Called on a frame to notify it that its out-of-process parent frame |
| 439 // changed a property (such as allowFullscreen) on its <iframe> element. | 444 // changed a property (such as allowFullscreen) on its <iframe> element. |
| 440 // Sends updated FrameOwnerProperties to the RenderFrame and to all proxies, | 445 // Sends updated FrameOwnerProperties to the RenderFrame and to all proxies, |
| 441 // skipping the parent process. | 446 // skipping the parent process. |
| 442 void OnDidUpdateFrameOwnerProperties(const FrameOwnerProperties& properties); | 447 void OnDidUpdateFrameOwnerProperties(const FrameOwnerProperties& properties); |
| 443 | 448 |
| 444 // Send updated origin to all frame proxies when the frame navigates to a new | 449 // Send updated origin to all frame proxies when the frame navigates to a new |
| 445 // origin. | 450 // origin. |
| 446 void OnDidUpdateOrigin(const url::Origin& origin, | 451 void OnDidUpdateOrigin(const url::Origin& origin, |
| 447 bool is_potentially_trustworthy_unique_origin); | 452 bool is_potentially_trustworthy_unique_origin); |
| (...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 804 std::unique_ptr<RenderFrameHostImpl> speculative_render_frame_host_; | 809 std::unique_ptr<RenderFrameHostImpl> speculative_render_frame_host_; |
| 805 | 810 |
| 806 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; | 811 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; |
| 807 | 812 |
| 808 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); | 813 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); |
| 809 }; | 814 }; |
| 810 | 815 |
| 811 } // namespace content | 816 } // namespace content |
| 812 | 817 |
| 813 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ | 818 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ |
| OLD | NEW |