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() { } |