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

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

Issue 1710283003: OOPIF: Handle cross-site frames being blocked by X-Frame-Options or CSP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 9 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 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 void frameFocused() override; 446 void frameFocused() override;
447 void willClose(blink::WebFrame* frame) override; 447 void willClose(blink::WebFrame* frame) override;
448 void didChangeName(const blink::WebString& name, 448 void didChangeName(const blink::WebString& name,
449 const blink::WebString& unique_name) override; 449 const blink::WebString& unique_name) override;
450 void didEnforceStrictMixedContentChecking() override; 450 void didEnforceStrictMixedContentChecking() override;
451 void didChangeSandboxFlags(blink::WebFrame* child_frame, 451 void didChangeSandboxFlags(blink::WebFrame* child_frame,
452 blink::WebSandboxFlags flags) override; 452 blink::WebSandboxFlags flags) override;
453 void didChangeFrameOwnerProperties( 453 void didChangeFrameOwnerProperties(
454 blink::WebFrame* child_frame, 454 blink::WebFrame* child_frame,
455 const blink::WebFrameOwnerProperties& frame_owner_properties) override; 455 const blink::WebFrameOwnerProperties& frame_owner_properties) override;
456 void didCancelLoadAfterXFrameOptionsOrCSPDenied() override;
456 void didMatchCSS( 457 void didMatchCSS(
457 blink::WebLocalFrame* frame, 458 blink::WebLocalFrame* frame,
458 const blink::WebVector<blink::WebString>& newly_matching_selectors, 459 const blink::WebVector<blink::WebString>& newly_matching_selectors,
459 const blink::WebVector<blink::WebString>& stopped_matching_selectors) 460 const blink::WebVector<blink::WebString>& stopped_matching_selectors)
460 override; 461 override;
461 bool shouldReportDetailedMessageForSource( 462 bool shouldReportDetailedMessageForSource(
462 const blink::WebString& source) override; 463 const blink::WebString& source) override;
463 void didAddMessageToConsole(const blink::WebConsoleMessage& message, 464 void didAddMessageToConsole(const blink::WebConsoleMessage& message,
464 const blink::WebString& source_name, 465 const blink::WebString& source_name,
465 unsigned source_line, 466 unsigned source_line,
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 void OnExtendSelectionAndDelete(int before, int after); 766 void OnExtendSelectionAndDelete(int before, int after);
766 void OnReload(bool ignore_cache); 767 void OnReload(bool ignore_cache);
767 void OnReloadLoFiImages(); 768 void OnReloadLoFiImages();
768 void OnTextSurroundingSelectionRequest(uint32_t max_length); 769 void OnTextSurroundingSelectionRequest(uint32_t max_length);
769 void OnSetAccessibilityMode(AccessibilityMode new_mode); 770 void OnSetAccessibilityMode(AccessibilityMode new_mode);
770 void OnSnapshotAccessibilityTree(int callback_id); 771 void OnSnapshotAccessibilityTree(int callback_id);
771 void OnUpdateOpener(int opener_routing_id); 772 void OnUpdateOpener(int opener_routing_id);
772 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); 773 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags);
773 void OnSetFrameOwnerProperties( 774 void OnSetFrameOwnerProperties(
774 const blink::WebFrameOwnerProperties& frame_owner_properties); 775 const blink::WebFrameOwnerProperties& frame_owner_properties);
776 void OnCancelLoadAfterXFrameOptionsOrCSPDenied();
775 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id); 777 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id);
776 void OnSetFocusedFrame(); 778 void OnSetFocusedFrame();
777 void OnTextTrackSettingsChanged( 779 void OnTextTrackSettingsChanged(
778 const FrameMsg_TextTrackSettings_Params& params); 780 const FrameMsg_TextTrackSettings_Params& params);
779 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params); 781 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params);
780 void OnCommitNavigation(const ResourceResponseHead& response, 782 void OnCommitNavigation(const ResourceResponseHead& response,
781 const GURL& stream_url, 783 const GURL& stream_url,
782 const CommonNavigationParams& common_params, 784 const CommonNavigationParams& common_params,
783 const RequestNavigationParams& request_params); 785 const RequestNavigationParams& request_params);
784 void OnFailedNavigation(const CommonNavigationParams& common_params, 786 void OnFailedNavigation(const CommonNavigationParams& common_params,
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
1209 #endif 1211 #endif
1210 1212
1211 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1213 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1212 1214
1213 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1215 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1214 }; 1216 };
1215 1217
1216 } // namespace content 1218 } // namespace content
1217 1219
1218 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1220 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698