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 64cb69786f7f98f45f6d774868a1d73920f8b7c5..cacb84ed88a4b3bc87aaca1d40d306da943bc62d 100644 |
--- a/third_party/WebKit/public/web/WebFrameClient.h |
+++ b/third_party/WebKit/public/web/WebFrameClient.h |
@@ -326,6 +326,12 @@ class BLINK_EXPORT WebFrameClient { |
return WebHistoryItem(); |
} |
+ // Asks the embedder whether the frame is allowed to navigate the main frame |
+ // to a data URL. |
+ virtual bool AllowContentInitiatedDataUrlNavigations(const WebURL&) { |
+ return false; |
+ } |
+ |
// Navigational notifications ------------------------------------------ |
// These notifications bracket any loading that occurs in the WebFrame. |