Index: third_party/WebKit/Source/core/loader/FrameLoader.h |
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.h b/third_party/WebKit/Source/core/loader/FrameLoader.h |
index 1203d2fbf3b5014e4ae082b48f3f272dc7a517f4..be92d674fa823fa97707c9c8c20f598a79e62151 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameLoader.h |
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.h |
@@ -214,6 +214,12 @@ class CORE_EXPORT FrameLoader final { |
bool isClientRedirect, |
HTMLFormElement*); |
+ // PlzNavigate: Navigations handled by the client are treated as |
+ // provisional navigations. |
+ bool hasProvisionalNavigation() const { |
+ return provisionalDocumentLoader() || m_isNavigationHandledByClient; |
+ } |
+ |
DECLARE_TRACE(); |
static void setReferrerForFrameRequest(FrameLoadRequest&); |