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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2797813002: Replicate feature policy container policies. (Closed)
Patch Set: Fix ODR violation Created 3 years, 8 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_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 blink::WebCookieJar* cookieJar() override; 506 blink::WebCookieJar* cookieJar() override;
507 blink::BlameContext* frameBlameContext() override; 507 blink::BlameContext* frameBlameContext() override;
508 blink::WebServiceWorkerProvider* createServiceWorkerProvider() override; 508 blink::WebServiceWorkerProvider* createServiceWorkerProvider() override;
509 void didAccessInitialDocument() override; 509 void didAccessInitialDocument() override;
510 blink::WebLocalFrame* createChildFrame( 510 blink::WebLocalFrame* createChildFrame(
511 blink::WebLocalFrame* parent, 511 blink::WebLocalFrame* parent,
512 blink::WebTreeScopeType scope, 512 blink::WebTreeScopeType scope,
513 const blink::WebString& name, 513 const blink::WebString& name,
514 const blink::WebString& fallback_name, 514 const blink::WebString& fallback_name,
515 blink::WebSandboxFlags sandbox_flags, 515 blink::WebSandboxFlags sandbox_flags,
516 const blink::WebParsedFeaturePolicy& container_policy,
516 const blink::WebFrameOwnerProperties& frame_owner_properties) override; 517 const blink::WebFrameOwnerProperties& frame_owner_properties) override;
517 void didChangeOpener(blink::WebFrame* frame) override; 518 void didChangeOpener(blink::WebFrame* frame) override;
518 void frameDetached(blink::WebLocalFrame* frame, DetachType type) override; 519 void frameDetached(blink::WebLocalFrame* frame, DetachType type) override;
519 void frameFocused() override; 520 void frameFocused() override;
520 void willCommitProvisionalLoad() override; 521 void willCommitProvisionalLoad() override;
521 void didChangeName(const blink::WebString& name) override; 522 void didChangeName(const blink::WebString& name) override;
522 void didEnforceInsecureRequestPolicy( 523 void didEnforceInsecureRequestPolicy(
523 blink::WebInsecureRequestPolicy policy) override; 524 blink::WebInsecureRequestPolicy policy) override;
524 void didUpdateToUniqueOrigin( 525 void didUpdateToUniqueOrigin(
525 bool is_potentially_trustworthy_unique_origin) override; 526 bool is_potentially_trustworthy_unique_origin) override;
526 void didChangeSandboxFlags(blink::WebFrame* child_frame, 527 void didChangeFramePolicy(
527 blink::WebSandboxFlags flags) override; 528 blink::WebFrame* child_frame,
529 blink::WebSandboxFlags flags,
530 const blink::WebParsedFeaturePolicy& container_policy) override;
528 void didSetFeaturePolicyHeader( 531 void didSetFeaturePolicyHeader(
529 const blink::WebParsedFeaturePolicy& parsed_header) override; 532 const blink::WebParsedFeaturePolicy& parsed_header) override;
530 void didAddContentSecurityPolicies( 533 void didAddContentSecurityPolicies(
531 const blink::WebVector<blink::WebContentSecurityPolicy>&) override; 534 const blink::WebVector<blink::WebContentSecurityPolicy>&) override;
532 void didChangeFrameOwnerProperties( 535 void didChangeFrameOwnerProperties(
533 blink::WebFrame* child_frame, 536 blink::WebFrame* child_frame,
534 const blink::WebFrameOwnerProperties& frame_owner_properties) override; 537 const blink::WebFrameOwnerProperties& frame_owner_properties) override;
535 void didMatchCSS( 538 void didMatchCSS(
536 blink::WebLocalFrame* frame, 539 blink::WebLocalFrame* frame,
537 const blink::WebVector<blink::WebString>& newly_matching_selectors, 540 const blink::WebVector<blink::WebString>& newly_matching_selectors,
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 void OnExtendSelectionAndDelete(int before, int after); 880 void OnExtendSelectionAndDelete(int before, int after);
878 void OnDeleteSurroundingText(int before, int after); 881 void OnDeleteSurroundingText(int before, int after);
879 void OnDeleteSurroundingTextInCodePoints(int before, int after); 882 void OnDeleteSurroundingTextInCodePoints(int before, int after);
880 void OnReload(bool bypass_cache); 883 void OnReload(bool bypass_cache);
881 void OnReloadLoFiImages(); 884 void OnReloadLoFiImages();
882 void OnTextSurroundingSelectionRequest(uint32_t max_length); 885 void OnTextSurroundingSelectionRequest(uint32_t max_length);
883 void OnSetAccessibilityMode(AccessibilityMode new_mode); 886 void OnSetAccessibilityMode(AccessibilityMode new_mode);
884 void OnSnapshotAccessibilityTree(int callback_id); 887 void OnSnapshotAccessibilityTree(int callback_id);
885 void OnExtractSmartClipData(uint32_t callback_id, const gfx::Rect& rect); 888 void OnExtractSmartClipData(uint32_t callback_id, const gfx::Rect& rect);
886 void OnUpdateOpener(int opener_routing_id); 889 void OnUpdateOpener(int opener_routing_id);
887 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); 890 void OnDidUpdateFramePolicy(
891 blink::WebSandboxFlags flags,
892 const ParsedFeaturePolicyHeader& container_policy);
888 void OnSetFrameOwnerProperties( 893 void OnSetFrameOwnerProperties(
889 const FrameOwnerProperties& frame_owner_properties); 894 const FrameOwnerProperties& frame_owner_properties);
890 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id); 895 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id);
891 void OnSetFocusedFrame(); 896 void OnSetFocusedFrame();
892 void OnTextTrackSettingsChanged( 897 void OnTextTrackSettingsChanged(
893 const FrameMsg_TextTrackSettings_Params& params); 898 const FrameMsg_TextTrackSettings_Params& params);
894 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params); 899 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params);
895 void OnCommitNavigation(const ResourceResponseHead& response, 900 void OnCommitNavigation(const ResourceResponseHead& response,
896 const GURL& stream_url, 901 const GURL& stream_url,
897 const CommonNavigationParams& common_params, 902 const CommonNavigationParams& common_params,
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
1422 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_; 1427 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_;
1423 1428
1424 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1429 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1425 1430
1426 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1431 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1427 }; 1432 };
1428 1433
1429 } // namespace content 1434 } // namespace content
1430 1435
1431 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1436 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698