| 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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 | 435 |
| 436 // OnDidUpdateName gets called when a frame changes its name - it gets the new | 436 // OnDidUpdateName gets called when a frame changes its name - it gets the new |
| 437 // |name| and the recalculated |unique_name| and replicates them into all | 437 // |name| and the recalculated |unique_name| and replicates them into all |
| 438 // frame proxies. | 438 // frame proxies. |
| 439 void OnDidUpdateName(const std::string& name, const std::string& unique_name); | 439 void OnDidUpdateName(const std::string& name, const std::string& unique_name); |
| 440 | 440 |
| 441 // Sends updated enforcement of strict mixed content checking to all | 441 // Sends updated enforcement of strict mixed content checking to all |
| 442 // frame proxies when the frame changes its setting. | 442 // frame proxies when the frame changes its setting. |
| 443 void OnEnforceStrictMixedContentChecking(bool should_enforce); | 443 void OnEnforceStrictMixedContentChecking(bool should_enforce); |
| 444 | 444 |
| 445 // Sends an updated flag to all frame proxies indicating whether the origin is |
| 446 // unique and potentially trustworthy. |
| 447 void OnSetUniqueOriginPotentiallyTrustworthy( |
| 448 bool is_unique_origin_potentially_trustworthy); |
| 449 |
| 445 // Send updated origin to all frame proxies when the frame navigates to a new | 450 // Send updated origin to all frame proxies when the frame navigates to a new |
| 446 // origin. | 451 // origin. |
| 447 void OnDidUpdateOrigin(const url::Origin& origin); | 452 void OnDidUpdateOrigin(const url::Origin& origin); |
| 448 | 453 |
| 449 void EnsureRenderViewInitialized(RenderViewHostImpl* render_view_host, | 454 void EnsureRenderViewInitialized(RenderViewHostImpl* render_view_host, |
| 450 SiteInstance* instance); | 455 SiteInstance* instance); |
| 451 | 456 |
| 452 // Creates swapped out RenderViews and RenderFrameProxies for this frame's | 457 // Creates swapped out RenderViews and RenderFrameProxies for this frame's |
| 453 // 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 |
| 454 // other tabs to send cross-process JavaScript calls to their opener(s) and | 459 // other tabs to send cross-process JavaScript calls to their opener(s) and |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 782 scoped_ptr<RenderFrameHostImpl> speculative_render_frame_host_; | 787 scoped_ptr<RenderFrameHostImpl> speculative_render_frame_host_; |
| 783 | 788 |
| 784 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; | 789 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; |
| 785 | 790 |
| 786 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); | 791 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); |
| 787 }; | 792 }; |
| 788 | 793 |
| 789 } // namespace content | 794 } // namespace content |
| 790 | 795 |
| 791 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ | 796 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ |
| OLD | NEW |