| 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 402 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 413   // Notification methods to tell this RenderFrameHostManager that the frame it | 413   // Notification methods to tell this RenderFrameHostManager that the frame it | 
| 414   // is responsible for has started or stopped loading a document. | 414   // is responsible for has started or stopped loading a document. | 
| 415   void OnDidStartLoading(); | 415   void OnDidStartLoading(); | 
| 416   void OnDidStopLoading(); | 416   void OnDidStopLoading(); | 
| 417 | 417 | 
| 418   // OnDidUpdateName gets called when a frame changes its name - it gets the new | 418   // OnDidUpdateName gets called when a frame changes its name - it gets the new | 
| 419   // |name| and the recalculated |unique_name| and replicates them into all | 419   // |name| and the recalculated |unique_name| and replicates them into all | 
| 420   // frame proxies. | 420   // frame proxies. | 
| 421   void OnDidUpdateName(const std::string& name, const std::string& unique_name); | 421   void OnDidUpdateName(const std::string& name, const std::string& unique_name); | 
| 422 | 422 | 
| 423   // Sends the newly added Content Security Policy header to all the proxies. | 423   // Sends the newly added Content Security Policy headers to all the proxies. | 
| 424   void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); | 424   void OnDidAddContentSecurityPolicies( | 
|  | 425       const std::vector<ContentSecurityPolicyHeader>& headers); | 
| 425 | 426 | 
| 426   // Resets Content Security Policy in all the proxies. | 427   // Resets Content Security Policy in all the proxies. | 
| 427   void OnDidResetContentSecurityPolicy(); | 428   void OnDidResetContentSecurityPolicy(); | 
| 428 | 429 | 
| 429   // Sends updated enforcement of insecure request policy to all frame proxies | 430   // Sends updated enforcement of insecure request policy to all frame proxies | 
| 430   // when the frame changes its setting. | 431   // when the frame changes its setting. | 
| 431   void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); | 432   void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); | 
| 432 | 433 | 
| 433   // Called on a frame to notify it that its out-of-process parent frame | 434   // Called on a frame to notify it that its out-of-process parent frame | 
| 434   // changed a property (such as allowFullscreen) on its <iframe> element. | 435   // changed a property (such as allowFullscreen) on its <iframe> element. | 
| (...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 809   std::unique_ptr<RenderFrameHostImpl> speculative_render_frame_host_; | 810   std::unique_ptr<RenderFrameHostImpl> speculative_render_frame_host_; | 
| 810 | 811 | 
| 811   base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; | 812   base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; | 
| 812 | 813 | 
| 813   DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); | 814   DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); | 
| 814 }; | 815 }; | 
| 815 | 816 | 
| 816 }  // namespace content | 817 }  // namespace content | 
| 817 | 818 | 
| 818 #endif  // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ | 819 #endif  // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ | 
| OLD | NEW | 
|---|