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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
878 void OnExtendSelectionAndDelete(int before, int after); | 881 void OnExtendSelectionAndDelete(int before, int after); |
879 void OnDeleteSurroundingText(int before, int after); | 882 void OnDeleteSurroundingText(int before, int after); |
880 void OnDeleteSurroundingTextInCodePoints(int before, int after); | 883 void OnDeleteSurroundingTextInCodePoints(int before, int after); |
881 void OnReload(bool bypass_cache); | 884 void OnReload(bool bypass_cache); |
882 void OnReloadLoFiImages(); | 885 void OnReloadLoFiImages(); |
883 void OnTextSurroundingSelectionRequest(uint32_t max_length); | 886 void OnTextSurroundingSelectionRequest(uint32_t max_length); |
884 void OnSetAccessibilityMode(AccessibilityMode new_mode); | 887 void OnSetAccessibilityMode(AccessibilityMode new_mode); |
885 void OnSnapshotAccessibilityTree(int callback_id); | 888 void OnSnapshotAccessibilityTree(int callback_id); |
886 void OnExtractSmartClipData(uint32_t callback_id, const gfx::Rect& rect); | 889 void OnExtractSmartClipData(uint32_t callback_id, const gfx::Rect& rect); |
887 void OnUpdateOpener(int opener_routing_id); | 890 void OnUpdateOpener(int opener_routing_id); |
888 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); | 891 void OnDidUpdateFramePolicy( |
| 892 blink::WebSandboxFlags flags, |
| 893 const ParsedFeaturePolicyHeader& container_policy); |
889 void OnSetFrameOwnerProperties( | 894 void OnSetFrameOwnerProperties( |
890 const FrameOwnerProperties& frame_owner_properties); | 895 const FrameOwnerProperties& frame_owner_properties); |
891 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id); | 896 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id); |
892 void OnSetFocusedFrame(); | 897 void OnSetFocusedFrame(); |
893 void OnTextTrackSettingsChanged( | 898 void OnTextTrackSettingsChanged( |
894 const FrameMsg_TextTrackSettings_Params& params); | 899 const FrameMsg_TextTrackSettings_Params& params); |
895 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params); | 900 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params); |
896 void OnCommitNavigation(const ResourceResponseHead& response, | 901 void OnCommitNavigation(const ResourceResponseHead& response, |
897 const GURL& stream_url, | 902 const GURL& stream_url, |
898 const CommonNavigationParams& common_params, | 903 const CommonNavigationParams& common_params, |
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1429 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_; | 1434 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_; |
1430 | 1435 |
1431 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1436 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1432 | 1437 |
1433 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1438 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1434 }; | 1439 }; |
1435 | 1440 |
1436 } // namespace content | 1441 } // namespace content |
1437 | 1442 |
1438 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1443 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |