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

Unified Diff: Source/core/frame/Frame.h

Issue 908453003: Blink changes to record interest rects for http://w3c.github.io/frame-timing/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code review comments (and re-sync) Created 5 years, 9 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/frame/Frame.h
diff --git a/Source/core/frame/Frame.h b/Source/core/frame/Frame.h
index 95e26a276202a5e9dd562f0b727268c08e620db4..a41485b71d08cca9b9970c3be8bb15e473fb8ccb 100644
--- a/Source/core/frame/Frame.h
+++ b/Source/core/frame/Frame.h
@@ -101,6 +101,8 @@ public:
LayoutPart* ownerLayoutObject() const; // LayoutObject for the element that contains this frame.
+ int64_t frameID() const { return m_frameID; }
+
Settings* settings() const; // can be null
// isLoading() is true when the embedder should think a load is in progress.
@@ -123,6 +125,8 @@ protected:
private:
FrameClient* m_client;
+ // Needed to identify Frame Timing requests.
+ int64_t m_frameID;
bool m_isLoading;
};

Powered by Google App Engine
This is Rietveld 408576698