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