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

Unified Diff: public/web/WebLocalFrame.h

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: 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.

Powered by Google App Engine
This is Rietveld 408576698