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 0fd5e49fd26d68b8ef62a66d36ae0a2beb9b5840..6dba3266bcb9c50f87539e21e37121102970eea4 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. |