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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 // Sends the newly added Content Security Policy header to all the proxies. | 432 // Sends the newly added Content Security Policy header to all the proxies. |
433 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); | 433 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); |
434 | 434 |
435 // Resets Content Security Policy in all the proxies. | 435 // Resets Content Security Policy in all the proxies. |
436 void OnDidResetContentSecurityPolicy(); | 436 void OnDidResetContentSecurityPolicy(); |
437 | 437 |
438 // Sends updated enforcement of strict mixed content checking to all | 438 // Sends updated enforcement of strict mixed content checking to all |
439 // frame proxies when the frame changes its setting. | 439 // frame proxies when the frame changes its setting. |
440 void OnEnforceStrictMixedContentChecking(bool should_enforce); | 440 void OnEnforceStrictMixedContentChecking(bool should_enforce); |
441 | 441 |
| 442 // Called on a frame to notify it that its out-of-process parent frame |
| 443 // changed a property (such as allowFullscreen) on its <iframe> element. |
| 444 // Sends updated WebFrameOwnerProperties to the RenderFrame and to all |
| 445 // proxies, skipping the parent process. |
| 446 void OnDidUpdateFrameOwnerProperties( |
| 447 const blink::WebFrameOwnerProperties& properties); |
| 448 |
442 // 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 |
443 // origin. | 450 // origin. |
444 void OnDidUpdateOrigin(const url::Origin& origin, | 451 void OnDidUpdateOrigin(const url::Origin& origin, |
445 bool is_potentially_trustworthy_unique_origin); | 452 bool is_potentially_trustworthy_unique_origin); |
446 | 453 |
447 void EnsureRenderViewInitialized(RenderViewHostImpl* render_view_host, | 454 void EnsureRenderViewInitialized(RenderViewHostImpl* render_view_host, |
448 SiteInstance* instance); | 455 SiteInstance* instance); |
449 | 456 |
450 // Creates swapped out RenderViews and RenderFrameProxies for this frame's | 457 // Creates swapped out RenderViews and RenderFrameProxies for this frame's |
451 // FrameTree and for its opener chain in the given SiteInstance. This allows | 458 // FrameTree and for its opener chain in the given SiteInstance. This allows |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
794 std::unique_ptr<RenderFrameHostImpl> speculative_render_frame_host_; | 801 std::unique_ptr<RenderFrameHostImpl> speculative_render_frame_host_; |
795 | 802 |
796 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; | 803 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; |
797 | 804 |
798 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); | 805 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); |
799 }; | 806 }; |
800 | 807 |
801 } // namespace content | 808 } // namespace content |
802 | 809 |
803 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ | 810 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ |
OLD | NEW |