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

Unified Diff: Source/core/html/HTMLFrameOwnerElement.h

Issue 14054023: Add loadedNonEmptyDocument flag in FrameLoader for Resource Timing (Closed) Base URL: http://chromium.googlesource.com/chromium/blink.git@master
Patch Set: store loadedNonEmptyDocument state in HTMLIFrameElement Created 7 years, 8 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: Source/core/html/HTMLFrameOwnerElement.h
diff --git a/Source/core/html/HTMLFrameOwnerElement.h b/Source/core/html/HTMLFrameOwnerElement.h
index 35ead777e361bdda0b73e204a013322b158173cc..3aa92612de2b69881af5906f64ef4ee8e4b2354e 100644
--- a/Source/core/html/HTMLFrameOwnerElement.h
+++ b/Source/core/html/HTMLFrameOwnerElement.h
@@ -60,6 +60,9 @@ public:
SandboxFlags sandboxFlags() const { return m_sandboxFlags; }
+ virtual bool loadedNonEmptyDocument() const { return false; }
+ virtual void didLoadNonEmptyDocument() {}
Nate Chapin 2013/04/30 19:55:58 Hmm...I'm not sure whether it makes more sense to
Pan 2013/05/07 08:45:52 HTMLFrameOwnerElement has derived and derived deri
+
protected:
HTMLFrameOwnerElement(const QualifiedName& tagName, Document*);
void setSandboxFlags(SandboxFlags);

Powered by Google App Engine
This is Rietveld 408576698