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

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

Issue 2046733003: Replicate WebInsecureRequestPolicy instead of a bool for strict mixed content checks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@securitycontext
Patch Set: alexmos@ Created 4 years, 6 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_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 19 matching lines...) Expand all
30 #include "content/common/ax_content_node_data.h" 30 #include "content/common/ax_content_node_data.h"
31 #include "content/common/content_export.h" 31 #include "content/common/content_export.h"
32 #include "content/common/frame_message_enums.h" 32 #include "content/common/frame_message_enums.h"
33 #include "content/common/frame_replication_state.h" 33 #include "content/common/frame_replication_state.h"
34 #include "content/common/image_downloader/image_downloader.mojom.h" 34 #include "content/common/image_downloader/image_downloader.mojom.h"
35 #include "content/common/mojo/service_registry_impl.h" 35 #include "content/common/mojo/service_registry_impl.h"
36 #include "content/common/navigation_params.h" 36 #include "content/common/navigation_params.h"
37 #include "content/public/browser/render_frame_host.h" 37 #include "content/public/browser/render_frame_host.h"
38 #include "content/public/common/javascript_message_type.h" 38 #include "content/public/common/javascript_message_type.h"
39 #include "net/http/http_response_headers.h" 39 #include "net/http/http_response_headers.h"
40 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h"
40 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" 41 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h"
41 #include "third_party/WebKit/public/web/WebTextDirection.h" 42 #include "third_party/WebKit/public/web/WebTextDirection.h"
42 #include "third_party/WebKit/public/web/WebTreeScopeType.h" 43 #include "third_party/WebKit/public/web/WebTreeScopeType.h"
43 #include "ui/accessibility/ax_node_data.h" 44 #include "ui/accessibility/ax_node_data.h"
44 #include "ui/base/page_transition_types.h" 45 #include "ui/base/page_transition_types.h"
45 46
46 #if defined(OS_ANDROID) 47 #if defined(OS_ANDROID)
47 #include "content/public/browser/android/service_registry_android.h" 48 #include "content/public/browser/android/service_registry_android.h"
48 #endif 49 #endif
49 50
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 void OnRunBeforeUnloadConfirm(const GURL& frame_url, 651 void OnRunBeforeUnloadConfirm(const GURL& frame_url,
651 bool is_reload, 652 bool is_reload,
652 IPC::Message* reply_msg); 653 IPC::Message* reply_msg);
653 void OnTextSurroundingSelectionResponse(const base::string16& content, 654 void OnTextSurroundingSelectionResponse(const base::string16& content,
654 uint32_t start_offset, 655 uint32_t start_offset,
655 uint32_t end_offset); 656 uint32_t end_offset);
656 void OnDidAccessInitialDocument(); 657 void OnDidAccessInitialDocument();
657 void OnDidChangeOpener(int32_t opener_routing_id); 658 void OnDidChangeOpener(int32_t opener_routing_id);
658 void OnDidChangeName(const std::string& name, const std::string& unique_name); 659 void OnDidChangeName(const std::string& name, const std::string& unique_name);
659 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); 660 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header);
660 void OnEnforceStrictMixedContentChecking(); 661 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy);
661 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin); 662 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin);
662 void OnDidAssignPageId(int32_t page_id); 663 void OnDidAssignPageId(int32_t page_id);
663 void OnDidChangeSandboxFlags(int32_t frame_routing_id, 664 void OnDidChangeSandboxFlags(int32_t frame_routing_id,
664 blink::WebSandboxFlags flags); 665 blink::WebSandboxFlags flags);
665 void OnDidChangeFrameOwnerProperties( 666 void OnDidChangeFrameOwnerProperties(
666 int32_t frame_routing_id, 667 int32_t frame_routing_id,
667 const blink::WebFrameOwnerProperties& properties); 668 const blink::WebFrameOwnerProperties& properties);
668 void OnUpdateTitle(const base::string16& title, 669 void OnUpdateTitle(const base::string16& title,
669 blink::WebTextDirection title_direction); 670 blink::WebTextDirection title_direction);
670 void OnUpdateEncoding(const std::string& encoding); 671 void OnUpdateEncoding(const std::string& encoding);
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
996 997
997 // NOTE: This must be the last member. 998 // NOTE: This must be the last member.
998 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 999 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
999 1000
1000 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1001 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1001 }; 1002 };
1002 1003
1003 } // namespace content 1004 } // namespace content
1004 1005
1005 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1006 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator_impl.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698