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

Unified Diff: third_party/WebKit/public/web/WebFrame.h

Issue 1381003004: Better distinguish didFinishLoad and didStopLoading (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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: third_party/WebKit/public/web/WebFrame.h
diff --git a/third_party/WebKit/public/web/WebFrame.h b/third_party/WebKit/public/web/WebFrame.h
index b67e85a91c739f7afae1a486325ecba1ecdaef0b..053db270e65d66f70974f3618a91827f3f939293 100644
--- a/third_party/WebKit/public/web/WebFrame.h
+++ b/third_party/WebKit/public/web/WebFrame.h
@@ -424,6 +424,9 @@ public:
// Returns the number of registered unload listeners.
virtual unsigned unloadListenerCount() const = 0;
+ // Will return true if between didStartLoading and didStopLoading notifications.
+ virtual bool isLoading() const;
+
// Editing -------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698