Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Side by Side Diff: content/browser/frame_host/render_frame_host_manager.h

Issue 2632633006: Implement NavigationThrottle::BLOCK_REQUEST_AND_COLLAPSE. (Closed)
Patch Set: Moar tests. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 on a child frame to propagate, to the child frame's owner element in
439 // the parent frame, a change in whether that frame owner element should be
440 // collapsed. Note that information here flows in the exactly opposite
441 // direction than it does for OnDidUpdateFrameOwnerProperties.
442 void OnDidUpdateFrameOwnerCollapsedState(bool collapsed);
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 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 std::unique_ptr<RenderFrameHostImpl> speculative_render_frame_host_; 810 std::unique_ptr<RenderFrameHostImpl> speculative_render_frame_host_;
805 811
806 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; 812 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_;
807 813
808 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); 814 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager);
809 }; 815 };
810 816
811 } // namespace content 817 } // namespace content
812 818
813 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 819 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698