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

Unified Diff: public/web/WebWidget.h

Issue 390193003: [not for review] Add Draw entries to window Performance Timeline (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Git pull syncup Created 6 years, 3 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 149e98356e253b38acd64e09c1e2971084011947..6da29b53d7a03ad1948a5a65d9d51f4f06b577d2 100644
--- a/public/web/WebWidget.h
+++ b/public/web/WebWidget.h
@@ -150,6 +150,14 @@ public:
float scaleFactor,
float topControlsDelta) { }
+ enum smoothnessTimingEventType {
+ CommitEvent,
+ CompositeEvent,
+ };
+
+ // Records composite or commit events for the Performance Timeline.
+ virtual void recordSmoothnessTimingEvent(smoothnessTimingEventType eventType, int64_t RectId, const WebVector<std::pair<int, double> >& 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