Index: third_party/WebKit/public/platform/resource_hints.mojom |
diff --git a/third_party/WebKit/public/platform/resource_hints.mojom b/third_party/WebKit/public/platform/resource_hints.mojom |
index 2d241595d963db1e7356dc11d07713c88a5fb7f0..0212c3265209b72c50539fc8d57cb3fd79842c00 100644 |
--- a/third_party/WebKit/public/platform/resource_hints.mojom |
+++ b/third_party/WebKit/public/platform/resource_hints.mojom |
@@ -6,6 +6,12 @@ module blink.mojom; |
import "url/mojo/url.mojom"; |
+enum NavigationHintType { |
+ LINK_MOUSE_DOWN, |
+ LINK_TAP_UNCONFIRMED, |
+ LINK_TAP_DOWN, |
+}; |
+ |
// The ResourceHintsHandler sends preconnect/preresolve requests based |
// on link tags/headers. See the corresponding interface in |
// content/public/resource_hints.h. |
@@ -23,4 +29,7 @@ interface ResourceHintsHandler { |
// Resolves the given URL's host, so subsequent requests will hit the host |
// cache. |
Preresolve(url.mojom.Url url); |
+ |
+ // Send a hint that a navigation to |url| is likely to happen. |
+ SendNavigationHint(url.mojom.Url url, NavigationHintType type); |
}; |