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

Unified Diff: public/platform/WebLayer.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 | « public/platform/WebFrameTimingEvent.h ('k') | public/web/WebWidget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebLayer.h
diff --git a/public/platform/WebLayer.h b/public/platform/WebLayer.h
index f4fcc94d70a8173e5b168e517cfb5ef045cb8fc7..70f86a906085a313b609e82e4080a5685076e6ed 100644
--- a/public/platform/WebLayer.h
+++ b/public/platform/WebLayer.h
@@ -199,6 +199,11 @@ public:
virtual void setTouchEventHandlerRegion(const WebVector<WebRect>&) = 0;
virtual WebVector<WebRect> touchEventHandlerRegion() const = 0;
+ // Setter and getter for Frame Timing rects.
+ // See http://w3c.github.io/frame-timing/ for definition of terms.
+ virtual void setFrameTimingRequests(const WebVector<std::pair<int64_t, WebRect>>&) = 0;
+ virtual WebVector<std::pair<int64_t, WebRect>> frameTimingRequests() const = 0;
+
// FIXME: Make pure once cc is updated. crbug.com/347272
virtual void setScrollBlocksOn(WebScrollBlocksOn) { };
virtual WebScrollBlocksOn scrollBlocksOn() const { return WebScrollBlocksOnNone;};
« no previous file with comments | « public/platform/WebFrameTimingEvent.h ('k') | public/web/WebWidget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698