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

Unified Diff: public/web/WebWidget.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
« Source/web/WebViewImpl.cpp ('K') | « public/platform/WebLayer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebWidget.h
diff --git a/public/web/WebWidget.h b/public/web/WebWidget.h
index 47db18352cd84d5452b58c35c64caedc7bf2d82d..a744f3abd48395869f379e9e24711fa198419699 100644
--- a/public/web/WebWidget.h
+++ b/public/web/WebWidget.h
@@ -161,6 +161,14 @@ public:
float scaleFactor,
float topControlsShownRatioDelta) { }
+ enum FrameTimingEventType {
chrishtr 2015/03/27 01:13:03 Add a comment linking to http://w3c.github.io/fram
MikeB 2015/04/14 18:05:46 Done.
+ CompositeEvent,
+ RenderEvent,
+ };
+
+ // Records composite or render events for the Performance Timeline.
+ virtual void recordFrameTimingEvent(FrameTimingEventType eventType, int64_t RectId, const WebVector<std::pair<int, double>>& events) { }
+
// Called to inform the WebWidget that mouse capture was lost.
virtual void mouseCaptureLost() { }
« Source/web/WebViewImpl.cpp ('K') | « public/platform/WebLayer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698