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

Unified Diff: Source/core/html/HTMLIFrameElement.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/HTMLIFrameElement.h
diff --git a/Source/core/html/HTMLIFrameElement.h b/Source/core/html/HTMLIFrameElement.h
index 5d9550dfa7b377a590251e68361ad7a5a363ea6b..7c6005e6924b13693c5c91fdbc593103df5817ce 100644
--- a/Source/core/html/HTMLIFrameElement.h
+++ b/Source/core/html/HTMLIFrameElement.h
@@ -49,7 +49,11 @@ private:
virtual void didRecalcStyle(StyleChange) OVERRIDE;
+ virtual bool loadedNonEmptyDocument() const OVERRIDE{ return m_didLoadNonEmptyDocument; }
+ virtual void didLoadNonEmptyDocument() OVERRIDE{ m_didLoadNonEmptyDocument = true; }
+
AtomicString m_name;
+ bool m_didLoadNonEmptyDocument;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698