Index: public/web/WebLocalFrame.h |
diff --git a/public/web/WebLocalFrame.h b/public/web/WebLocalFrame.h |
index 23accad6f7dd06445635fc9938fe14d9ab2472a3..ce8ecff1800bc75152f0441fde4159e19f5cc5e1 100644 |
--- a/public/web/WebLocalFrame.h |
+++ b/public/web/WebLocalFrame.h |
@@ -91,6 +91,14 @@ public: |
// instead. |
virtual bool isResourceLoadInProgress() const = 0; |
+ // Returns true if there is a pending redirect or location change. |
+ // This could be caused by: |
+ // * an HTTP Refresh header |
+ // * an X-Frame-Options header |
+ // * the respective http-equiv meta tags |
+ // * window.location value being mutated |
+ virtual bool isRedirectOrLocationChangePending() const = 0; |
+ |
// Override the normal rules for whether a load has successfully committed |
// in this frame. Used to propagate state when this frame has navigated |
// cross process. |