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

Unified Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 2425663002: Add an error page for resources blocked via XSS Auditor. (Closed)
Patch Set: Created 4 years, 2 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/WebFrameClient.h
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
index 29708fa0cd209679fcaf59bbfaccc12d939f4c0b..f44de74e05a0affa561e7d5717aade18fc51a06c 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -271,6 +271,9 @@ class BLINK_EXPORT WebFrameClient {
const WebString& downloadName,
bool shouldReplaceCurrentEntry) {}
+ // The client should load an error page in the current frame.
+ virtual void loadErrorPage(int reason) {}
+
// Navigational queries ------------------------------------------------
// The client may choose to alter the navigation policy. Otherwise,

Powered by Google App Engine
This is Rietveld 408576698