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

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

Issue 2720763002: PlzNavigate: preserve SourceLocation when navigating (Closed)
Patch Set: Fix rebase compilation issues Created 3 years, 9 months 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
« no previous file with comments | « third_party/WebKit/Source/web/WebDataSourceImpl.cpp ('k') | third_party/WebKit/public/web/WebFrameClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a084487335ca8ac0d6d4cbb665b4799caf892db2..7ba1d27e40d62dfa4567961b2efbf32ae72c40e1 100644
--- a/third_party/WebKit/public/web/WebDataSource.h
+++ b/third_party/WebKit/public/web/WebDataSource.h
@@ -35,6 +35,7 @@
#include "../platform/WebCommon.h"
#include "WebNavigationType.h"
+#include "WebSourceLocation.h"
#include "WebTextDirection.h"
namespace blink {
@@ -131,6 +132,11 @@ class WebDataSource {
virtual WebServiceWorkerNetworkProvider*
getServiceWorkerNetworkProvider() = 0;
+ // PlzNavigate
+ // Allows to specify the SourceLocation that triggered the navigation.
+ virtual void setSourceLocation(const WebSourceLocation&) = 0;
+ virtual void resetSourceLocation() = 0;
+
protected:
~WebDataSource() {}
};
« no previous file with comments | « third_party/WebKit/Source/web/WebDataSourceImpl.cpp ('k') | third_party/WebKit/public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698