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

Unified Diff: public/web/WebLocalFrame.h

Issue 514603004: Make WebFrame::isLoading() local-only and map it to load event completion (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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 | « Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698