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..810954047c7497780073c9b60cf7fbadb642e113 100644 |
--- a/third_party/WebKit/public/web/WebFrameClient.h |
+++ b/third_party/WebKit/public/web/WebFrameClient.h |
@@ -672,6 +672,10 @@ class BLINK_EXPORT WebFrameClient { |
// content/ APIs. |
virtual bool allowWebGL(bool defaultValue) { return defaultValue; } |
+ // Asks the embedder whether the frame is allowed to navigate the main frame |
+ // to a data URL. |
+ virtual bool allowInsecureDataUrlNavigations(const WebURL&) { return false; } |
+ |
// Screen Orientation -------------------------------------------------- |
// Access the embedder API for (client-based) screen orientation client . |