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

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: 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/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..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() { }
« no previous file with comments | « public/platform/WebLayer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698