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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
427 // Clears the speculative members, returning the RenderFrameHost to the caller | 427 // Clears the speculative members, returning the RenderFrameHost to the caller |
428 // for disposal. | 428 // for disposal. |
429 scoped_ptr<RenderFrameHostImpl> UnsetSpeculativeRenderFrameHost(); | 429 scoped_ptr<RenderFrameHostImpl> UnsetSpeculativeRenderFrameHost(); |
430 | 430 |
431 // Notification methods to tell this RenderFrameHostManager that the frame it | 431 // Notification methods to tell this RenderFrameHostManager that the frame it |
432 // is responsible for has started or stopped loading a document. | 432 // is responsible for has started or stopped loading a document. |
433 void OnDidStartLoading(); | 433 void OnDidStartLoading(); |
434 void OnDidStopLoading(); | 434 void OnDidStopLoading(); |
435 | 435 |
436 // Send updated frame name to all frame proxies when the frame changes its | 436 // Send updated frame name to all frame proxies when the frame changes its |
437 // window.name property. | 437 // window.name property. |
alexmos
2016/02/10 00:46:46
nit: explain why this now also takes unique_name i
Łukasz Anforowicz
2016/02/10 22:10:51
Done (I rewrote the comment).
| |
438 void OnDidUpdateName(const std::string& name); | 438 void OnDidUpdateName(const std::string& name, const std::string& unique_name); |
439 | 439 |
440 // Sends updated enforcement of strict mixed content checking to all | 440 // Sends updated enforcement of strict mixed content checking to all |
441 // frame proxies when the frame changes its setting. | 441 // frame proxies when the frame changes its setting. |
442 void OnEnforceStrictMixedContentChecking(bool should_enforce); | 442 void OnEnforceStrictMixedContentChecking(bool should_enforce); |
443 | 443 |
444 // Send updated origin to all frame proxies when the frame navigates to a new | 444 // Send updated origin to all frame proxies when the frame navigates to a new |
445 // origin. | 445 // origin. |
446 void OnDidUpdateOrigin(const url::Origin& origin); | 446 void OnDidUpdateOrigin(const url::Origin& origin); |
447 | 447 |
448 void EnsureRenderViewInitialized(RenderViewHostImpl* render_view_host, | 448 void EnsureRenderViewInitialized(RenderViewHostImpl* render_view_host, |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
774 scoped_ptr<RenderFrameHostImpl> speculative_render_frame_host_; | 774 scoped_ptr<RenderFrameHostImpl> speculative_render_frame_host_; |
775 | 775 |
776 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; | 776 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; |
777 | 777 |
778 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); | 778 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); |
779 }; | 779 }; |
780 | 780 |
781 } // namespace content | 781 } // namespace content |
782 | 782 |
783 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ | 783 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ |
OLD | NEW |