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

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

Issue 2398733004: Do not SendPasswordForms when LocalFrame is being detached (Closed)
Patch Set: isInStopAllLoaders -> isDetached Created 4 years, 2 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: third_party/WebKit/public/web/WebLocalFrame.h
diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h
index 69940c6f0432a1a77dcfec87fd7dd47e04b2459d..e37e71e36290bb5948d2c8315b486c544cc25e6a 100644
--- a/third_party/WebKit/public/web/WebLocalFrame.h
+++ b/third_party/WebKit/public/web/WebLocalFrame.h
@@ -128,6 +128,9 @@ class WebLocalFrame : public WebFrame {
// Returns true if the current frame's load event has not completed.
virtual bool isLoading() const = 0;
+ // Returns true if the current frame is detaching/detached. crbug.com/654654
+ virtual bool isDetached() const = 0;
+
// Returns true if there is a pending redirect or location change
// within specified interval (in seconds). This could be caused by:
// * an HTTP Refresh header

Powered by Google App Engine
This is Rietveld 408576698