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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 void OnDidAddContentSecurityPolicies( | 424 void OnDidAddContentSecurityPolicies( |
425 const std::vector<ContentSecurityPolicyHeader>& headers); | 425 const std::vector<ContentSecurityPolicyHeader>& headers); |
426 | 426 |
427 // Resets Content Security Policy in all the proxies. | 427 // Resets Content Security Policy in all the proxies. |
428 void OnDidResetContentSecurityPolicy(); | 428 void OnDidResetContentSecurityPolicy(); |
429 | 429 |
430 // Sends updated enforcement of insecure request policy to all frame proxies | 430 // Sends updated enforcement of insecure request policy to all frame proxies |
431 // when the frame changes its setting. | 431 // when the frame changes its setting. |
432 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); | 432 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); |
433 | 433 |
| 434 // Called when the client changes whether the frame's owner element in the |
| 435 // embedder document should be collapsed, that is, remove from the layout as |
| 436 // if it did not exist. Never called for main frames. Only has an effect for |
| 437 // <iframe> owner elements. |
| 438 void OnDidChangeCollapsedState(bool collapsed); |
| 439 |
434 // Called on a frame to notify it that its out-of-process parent frame | 440 // Called on a frame to notify it that its out-of-process parent frame |
435 // changed a property (such as allowFullscreen) on its <iframe> element. | 441 // changed a property (such as allowFullscreen) on its <iframe> element. |
436 // Sends updated FrameOwnerProperties to the RenderFrame and to all proxies, | 442 // Sends updated FrameOwnerProperties to the RenderFrame and to all proxies, |
437 // skipping the parent process. | 443 // skipping the parent process. |
438 void OnDidUpdateFrameOwnerProperties(const FrameOwnerProperties& properties); | 444 void OnDidUpdateFrameOwnerProperties(const FrameOwnerProperties& properties); |
439 | 445 |
440 // Send updated origin to all frame proxies when the frame navigates to a new | 446 // Send updated origin to all frame proxies when the frame navigates to a new |
441 // origin. | 447 // origin. |
442 void OnDidUpdateOrigin(const url::Origin& origin, | 448 void OnDidUpdateOrigin(const url::Origin& origin, |
443 bool is_potentially_trustworthy_unique_origin); | 449 bool is_potentially_trustworthy_unique_origin); |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
810 std::unique_ptr<RenderFrameHostImpl> speculative_render_frame_host_; | 816 std::unique_ptr<RenderFrameHostImpl> speculative_render_frame_host_; |
811 | 817 |
812 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; | 818 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; |
813 | 819 |
814 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); | 820 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); |
815 }; | 821 }; |
816 | 822 |
817 } // namespace content | 823 } // namespace content |
818 | 824 |
819 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ | 825 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ |
OLD | NEW |