Index: third_party/WebKit/public/web/WebDataSource.h |
diff --git a/third_party/WebKit/public/web/WebDataSource.h b/third_party/WebKit/public/web/WebDataSource.h |
index c2b118ac412d890aa7cae91a3567237a17774b19..98fce1e72479066076c330e0d363c5d2374b544d 100644 |
--- a/third_party/WebKit/public/web/WebDataSource.h |
+++ b/third_party/WebKit/public/web/WebDataSource.h |
@@ -33,6 +33,7 @@ |
#include "../platform/WebCommon.h" |
#include "WebNavigationType.h" |
+#include "WebSourceLocation.h" |
#include "WebTextDirection.h" |
namespace blink { |
@@ -120,6 +121,11 @@ class WebDataSource { |
// datasource is destroyed or when a new filter is set. |
virtual void setSubresourceFilter(WebDocumentSubresourceFilter*) = 0; |
+ // PlzNavigate |
+ // Allows to specify the SourceLocation that triggered the navigation. |
+ virtual void setSourceLocation(const WebSourceLocation&) = 0; |
+ virtual void resetSourceLocation() = 0; |
+ |
protected: |
~WebDataSource() {} |
}; |