Index: public/web/WebLocalFrame.h |
diff --git a/public/web/WebLocalFrame.h b/public/web/WebLocalFrame.h |
index ce7cafdbb64c0a8b0dade2b951f97337358975f2..24a6be6854f4cc5dacebf7fd6a69d422136d3404 100644 |
--- a/public/web/WebLocalFrame.h |
+++ b/public/web/WebLocalFrame.h |
@@ -37,6 +37,14 @@ public: |
virtual void navigateToSandboxedMarkup(const WebData& markup) = 0; |
virtual void sendPings(const WebNode& linkNode, const WebURL& destinationURL) = 0; |
+ |
+ |
+ // Navigation State ------------------------------------------------------- |
+ |
+ // Returns true if any resource load is currently in progress. Exposed |
+ // primarily for use in layout tests. You probably want isLoading() |
+ // instead. |
+ virtual bool isResourceLoadInProgress() const = 0; |
}; |
} // namespace blink |