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

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

Issue 2425663002: Add an error page for resources blocked via XSS Auditor. (Closed)
Patch Set: Words. Created 4 years, 1 month 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 d003943052900afe7d9b1b7bd28f77dbc5c86d4f..94f667df82885d4d8b3de3a6a6baa8961ff0c8e3 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -270,6 +270,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,
« components/error_page_strings.grdp ('K') | « third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698