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 <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 | 431 |
432 // Notification methods to tell this RenderFrameHostManager that the frame it | 432 // Notification methods to tell this RenderFrameHostManager that the frame it |
433 // is responsible for has started or stopped loading a document. | 433 // is responsible for has started or stopped loading a document. |
434 void OnDidStartLoading(); | 434 void OnDidStartLoading(); |
435 void OnDidStopLoading(); | 435 void OnDidStopLoading(); |
436 | 436 |
437 // Send updated frame name to all frame proxies when the frame changes its | 437 // Send updated frame name to all frame proxies when the frame changes its |
438 // window.name property. | 438 // window.name property. |
439 void OnDidUpdateName(const std::string& name); | 439 void OnDidUpdateName(const std::string& name); |
440 | 440 |
| 441 // Sends updated enforcement of strict mixed content checking to all |
| 442 // frame proxies when the frame changes its setting. |
| 443 void OnEnforceStrictMixedContentChecking(bool should_enforce); |
| 444 |
441 // Send updated origin to all frame proxies when the frame navigates to a new | 445 // Send updated origin to all frame proxies when the frame navigates to a new |
442 // origin. | 446 // origin. |
443 void OnDidUpdateOrigin(const url::Origin& origin); | 447 void OnDidUpdateOrigin(const url::Origin& origin); |
444 | 448 |
445 void EnsureRenderViewInitialized(RenderViewHostImpl* render_view_host, | 449 void EnsureRenderViewInitialized(RenderViewHostImpl* render_view_host, |
446 SiteInstance* instance); | 450 SiteInstance* instance); |
447 | 451 |
448 // Creates swapped out RenderViews and RenderFrameProxies for this frame's | 452 // Creates swapped out RenderViews and RenderFrameProxies for this frame's |
449 // FrameTree and for its opener chain in the given SiteInstance. This allows | 453 // FrameTree and for its opener chain in the given SiteInstance. This allows |
450 // other tabs to send cross-process JavaScript calls to their opener(s) and | 454 // other tabs to send cross-process JavaScript calls to their opener(s) and |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 scoped_ptr<RenderFrameHostImpl> speculative_render_frame_host_; | 785 scoped_ptr<RenderFrameHostImpl> speculative_render_frame_host_; |
782 | 786 |
783 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; | 787 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; |
784 | 788 |
785 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); | 789 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); |
786 }; | 790 }; |
787 | 791 |
788 } // namespace content | 792 } // namespace content |
789 | 793 |
790 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ | 794 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ |
OLD | NEW |