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

Unified Diff: third_party/WebKit/public/web/WebLocalFrame.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, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/web/WebLocalFrame.h
diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h
index 17cba72a07ba8f973b9d8547ea98633a096fea57..d6ee2ee2d2ccd3fcf9b6e7c5d95cc1da8dabcf43 100644
--- a/third_party/WebKit/public/web/WebLocalFrame.h
+++ b/third_party/WebKit/public/web/WebLocalFrame.h
@@ -123,6 +123,10 @@ public:
bool isClientRedirect = false)
= 0;
+ // Inform the frame that its load was canceled due to X-Frame-Options or
+ // CSP.
+ virtual void cancelLoadAfterXFrameOptionsOrCSPDenied() = 0;
+
// Navigation State -------------------------------------------------------
// Returns true if the current frame's load event has not completed.

Powered by Google App Engine
This is Rietveld 408576698