Index: public/web/WebWidget.h |
diff --git a/public/web/WebWidget.h b/public/web/WebWidget.h |
index 691715e22835e4cf949acccb790e251aa9a58433..80cc6496b3a50ebc458d82118b35866626377fd1 100644 |
--- a/public/web/WebWidget.h |
+++ b/public/web/WebWidget.h |
@@ -1,3 +1,4 @@ |
+ |
/* |
* Copyright (C) 2009 Google Inc. All rights reserved. |
* |
@@ -34,6 +35,7 @@ |
#include "../platform/WebCanvas.h" |
#include "../platform/WebCommon.h" |
#include "../platform/WebFloatSize.h" |
+#include "../platform/WebFrameTimingEvent.h" |
#include "../platform/WebPoint.h" |
#include "../platform/WebRect.h" |
#include "../platform/WebSize.h" |
@@ -160,6 +162,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<WebFrameTimingEvent>& events) { } |
+ |
// Called to inform the WebWidget that mouse capture was lost. |
virtual void mouseCaptureLost() { } |