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

Unified Diff: Source/web/WebLocalFrameImpl.cpp

Issue 1309883003: Add hooks for capturing meaningful text info, gently. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Oopsie fixed. Created 5 years, 4 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
Index: Source/web/WebLocalFrameImpl.cpp
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
index 90a5b77ffb06442e32cab1924f1d416fcab4f2ca..15f0799bdd6337f05ac7d1a844955c360bb3b745 100644
--- a/Source/web/WebLocalFrameImpl.cpp
+++ b/Source/web/WebLocalFrameImpl.cpp
@@ -2116,6 +2116,11 @@ bool WebLocalFrameImpl::isResourceLoadInProgress() const
return frame()->document()->fetcher()->requestCount();
}
+bool WebLocalFrameImpl::isNavigationScheduled() const
+{
+ return frame() && frame()->navigationScheduler().isNavigationScheduled();
+}
+
void WebLocalFrameImpl::setCommittedFirstRealLoad()
{
ASSERT(frame());

Powered by Google App Engine
This is Rietveld 408576698