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_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 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 blink::WebCookieJar* CookieJar() override; | 507 blink::WebCookieJar* CookieJar() override; |
508 blink::BlameContext* GetFrameBlameContext() override; | 508 blink::BlameContext* GetFrameBlameContext() override; |
509 blink::WebServiceWorkerProvider* CreateServiceWorkerProvider() override; | 509 blink::WebServiceWorkerProvider* CreateServiceWorkerProvider() override; |
510 void DidAccessInitialDocument() override; | 510 void DidAccessInitialDocument() override; |
511 blink::WebLocalFrame* CreateChildFrame( | 511 blink::WebLocalFrame* CreateChildFrame( |
512 blink::WebLocalFrame* parent, | 512 blink::WebLocalFrame* parent, |
513 blink::WebTreeScopeType scope, | 513 blink::WebTreeScopeType scope, |
514 const blink::WebString& name, | 514 const blink::WebString& name, |
515 const blink::WebString& fallback_name, | 515 const blink::WebString& fallback_name, |
516 blink::WebSandboxFlags sandbox_flags, | 516 blink::WebSandboxFlags sandbox_flags, |
| 517 const blink::WebParsedFeaturePolicy& container_policy, |
517 const blink::WebFrameOwnerProperties& frame_owner_properties) override; | 518 const blink::WebFrameOwnerProperties& frame_owner_properties) override; |
518 void DidChangeOpener(blink::WebFrame* frame) override; | 519 void DidChangeOpener(blink::WebFrame* frame) override; |
519 void FrameDetached(blink::WebLocalFrame* frame, DetachType type) override; | 520 void FrameDetached(blink::WebLocalFrame* frame, DetachType type) override; |
520 void FrameFocused() override; | 521 void FrameFocused() override; |
521 void WillCommitProvisionalLoad() override; | 522 void WillCommitProvisionalLoad() override; |
522 void DidChangeName(const blink::WebString& name) override; | 523 void DidChangeName(const blink::WebString& name) override; |
523 void DidEnforceInsecureRequestPolicy( | 524 void DidEnforceInsecureRequestPolicy( |
524 blink::WebInsecureRequestPolicy policy) override; | 525 blink::WebInsecureRequestPolicy policy) override; |
525 void DidUpdateToUniqueOrigin( | 526 void DidUpdateToUniqueOrigin( |
526 bool is_potentially_trustworthy_unique_origin) override; | 527 bool is_potentially_trustworthy_unique_origin) override; |
527 void DidChangeSandboxFlags(blink::WebFrame* child_frame, | 528 void DidChangeFramePolicy( |
528 blink::WebSandboxFlags flags) override; | 529 blink::WebFrame* child_frame, |
| 530 blink::WebSandboxFlags flags, |
| 531 const blink::WebParsedFeaturePolicy& container_policy) override; |
529 void DidSetFeaturePolicyHeader( | 532 void DidSetFeaturePolicyHeader( |
530 const blink::WebParsedFeaturePolicy& parsed_header) override; | 533 const blink::WebParsedFeaturePolicy& parsed_header) override; |
531 void DidAddContentSecurityPolicies( | 534 void DidAddContentSecurityPolicies( |
532 const blink::WebVector<blink::WebContentSecurityPolicy>&) override; | 535 const blink::WebVector<blink::WebContentSecurityPolicy>&) override; |
533 void DidChangeFrameOwnerProperties( | 536 void DidChangeFrameOwnerProperties( |
534 blink::WebFrame* child_frame, | 537 blink::WebFrame* child_frame, |
535 const blink::WebFrameOwnerProperties& frame_owner_properties) override; | 538 const blink::WebFrameOwnerProperties& frame_owner_properties) override; |
536 void DidMatchCSS( | 539 void DidMatchCSS( |
537 blink::WebLocalFrame* frame, | 540 blink::WebLocalFrame* frame, |
538 const blink::WebVector<blink::WebString>& newly_matching_selectors, | 541 const blink::WebVector<blink::WebString>& newly_matching_selectors, |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
874 void OnExtendSelectionAndDelete(int before, int after); | 877 void OnExtendSelectionAndDelete(int before, int after); |
875 void OnDeleteSurroundingText(int before, int after); | 878 void OnDeleteSurroundingText(int before, int after); |
876 void OnDeleteSurroundingTextInCodePoints(int before, int after); | 879 void OnDeleteSurroundingTextInCodePoints(int before, int after); |
877 void OnReload(bool bypass_cache); | 880 void OnReload(bool bypass_cache); |
878 void OnReloadLoFiImages(); | 881 void OnReloadLoFiImages(); |
879 void OnTextSurroundingSelectionRequest(uint32_t max_length); | 882 void OnTextSurroundingSelectionRequest(uint32_t max_length); |
880 void OnSetAccessibilityMode(AccessibilityMode new_mode); | 883 void OnSetAccessibilityMode(AccessibilityMode new_mode); |
881 void OnSnapshotAccessibilityTree(int callback_id); | 884 void OnSnapshotAccessibilityTree(int callback_id); |
882 void OnExtractSmartClipData(uint32_t callback_id, const gfx::Rect& rect); | 885 void OnExtractSmartClipData(uint32_t callback_id, const gfx::Rect& rect); |
883 void OnUpdateOpener(int opener_routing_id); | 886 void OnUpdateOpener(int opener_routing_id); |
884 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); | 887 void OnDidUpdateFramePolicy( |
| 888 blink::WebSandboxFlags flags, |
| 889 const ParsedFeaturePolicyHeader& container_policy); |
885 void OnSetFrameOwnerProperties( | 890 void OnSetFrameOwnerProperties( |
886 const FrameOwnerProperties& frame_owner_properties); | 891 const FrameOwnerProperties& frame_owner_properties); |
887 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id); | 892 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id); |
888 void OnSetFocusedFrame(); | 893 void OnSetFocusedFrame(); |
889 void OnTextTrackSettingsChanged( | 894 void OnTextTrackSettingsChanged( |
890 const FrameMsg_TextTrackSettings_Params& params); | 895 const FrameMsg_TextTrackSettings_Params& params); |
891 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params); | 896 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params); |
892 void OnCommitNavigation(const ResourceResponseHead& response, | 897 void OnCommitNavigation(const ResourceResponseHead& response, |
893 const GURL& stream_url, | 898 const GURL& stream_url, |
894 mojo::DataPipeConsumerHandle handle, | 899 mojo::DataPipeConsumerHandle handle, |
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1421 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_; | 1426 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_; |
1422 | 1427 |
1423 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1428 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1424 | 1429 |
1425 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1430 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1426 }; | 1431 }; |
1427 | 1432 |
1428 } // namespace content | 1433 } // namespace content |
1429 | 1434 |
1430 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1435 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |