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

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, plus update Render events to get finishTime as well. 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
« Source/core/frame/UseCounter.h ('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 691715e22835e4cf949acccb790e251aa9a58433..bbc7e61707bb45623ffafa468892b0717b85f13f 100644
--- a/public/web/WebWidget.h
+++ b/public/web/WebWidget.h
@@ -1,3 +1,4 @@
+
/*
* Copyright (C) 2009 Google Inc. All rights reserved.
*
@@ -160,6 +161,14 @@ public:
float scaleFactor,
float topControlsShownRatioDelta) { }
+ // Records composite or render events for the Performance Timeline.
+ // See http://w3c.github.io/frame-timing/ for definition of terms.
+ enum FrameTimingEventType {
+ CompositeEvent,
+ RenderEvent,
+ };
+ virtual void recordFrameTimingEvent(FrameTimingEventType eventType, int64_t RectId, const WebVector<std::tuple<int, double, double>>& events) { }
+
// Called to inform the WebWidget that mouse capture was lost.
virtual void mouseCaptureLost() { }
« Source/core/frame/UseCounter.h ('K') | « public/platform/WebLayer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698