Chromium Code Reviews| Index: public/web/WebLocalFrame.h |
| diff --git a/public/web/WebLocalFrame.h b/public/web/WebLocalFrame.h |
| index 23accad6f7dd06445635fc9938fe14d9ab2472a3..e9dbe9926f5cc2ac9ad063c5728c1d13a436e5d1 100644 |
| --- a/public/web/WebLocalFrame.h |
| +++ b/public/web/WebLocalFrame.h |
| @@ -91,6 +91,17 @@ 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 |
| + // * CSP policy block |
| + // * reload |
| + // * form submission |
| + virtual bool isNavigationScheduled() const = 0; |
|
esprehn
2015/08/22 15:14:54
Your description needs updating, it mentions the o
|
| + |
| // 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. |