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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
428 // Sends the newly added Content Security Policy header to all the proxies. | 428 // Sends the newly added Content Security Policy header to all the proxies. |
429 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); | 429 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); |
430 | 430 |
431 // Resets Content Security Policy in all the proxies. | 431 // Resets Content Security Policy in all the proxies. |
432 void OnDidResetContentSecurityPolicy(); | 432 void OnDidResetContentSecurityPolicy(); |
433 | 433 |
434 // Sends updated enforcement of insecure request policy to all frame proxies | 434 // Sends updated enforcement of insecure request policy to all frame proxies |
435 // when the frame changes its setting. | 435 // when the frame changes its setting. |
436 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); | 436 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); |
437 | 437 |
438 // Called when the client changes whether the frame's owner element in the | |
439 // embedder document should be collapsed, that is, remove from the layout as | |
440 // if it did not exist. Never called for main frames. Only has an effect for | |
441 // <iframe> owner elements. | |
442 void OnDidChangeCollapsedByClientState(bool collapsed); | |
nasko
2017/03/01 20:08:04
As noted in the other file, I think the "ByClientS
engedy
2017/04/10 14:36:41
Done.
| |
443 | |
438 // Called on a frame to notify it that its out-of-process parent frame | 444 // Called on a frame to notify it that its out-of-process parent frame |
439 // changed a property (such as allowFullscreen) on its <iframe> element. | 445 // changed a property (such as allowFullscreen) on its <iframe> element. |
440 // Sends updated FrameOwnerProperties to the RenderFrame and to all proxies, | 446 // Sends updated FrameOwnerProperties to the RenderFrame and to all proxies, |
441 // skipping the parent process. | 447 // skipping the parent process. |
442 void OnDidUpdateFrameOwnerProperties(const FrameOwnerProperties& properties); | 448 void OnDidUpdateFrameOwnerProperties(const FrameOwnerProperties& properties); |
443 | 449 |
444 // 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 |
445 // origin. | 451 // origin. |
446 void OnDidUpdateOrigin(const url::Origin& origin, | 452 void OnDidUpdateOrigin(const url::Origin& origin, |
447 bool is_potentially_trustworthy_unique_origin); | 453 bool is_potentially_trustworthy_unique_origin); |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
809 std::unique_ptr<RenderFrameHostImpl> speculative_render_frame_host_; | 815 std::unique_ptr<RenderFrameHostImpl> speculative_render_frame_host_; |
810 | 816 |
811 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; | 817 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; |
812 | 818 |
813 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); | 819 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); |
814 }; | 820 }; |
815 | 821 |
816 } // namespace content | 822 } // namespace content |
817 | 823 |
818 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ | 824 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ |
OLD | NEW |