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

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: Update LayoutTests for new properties Created 5 years, 7 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
« no previous file with comments | « Source/core/events/EventTypeNames.in ('k') | Source/core/frame/Frame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/Frame.h
diff --git a/Source/core/frame/Frame.h b/Source/core/frame/Frame.h
index 66044496b7c440e950f7c1fdc5d0938f12d86dd6..a5c884b40b0d7ef7de736a790bff2e803abc97ee 100644
--- a/Source/core/frame/Frame.h
+++ b/Source/core/frame/Frame.h
@@ -102,6 +102,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.
@@ -124,6 +126,8 @@ protected:
private:
FrameClient* m_client;
+ // Needed to identify Frame Timing requests.
+ int64_t m_frameID;
bool m_isLoading;
};
« no previous file with comments | « Source/core/events/EventTypeNames.in ('k') | Source/core/frame/Frame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698