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

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 Created 6 years, 5 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
« public/platform/WebLayer.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 d0e12437890840de7d3f096cb11941719c0c1f65..eebc5b9b3850bbf2b2b3328e5048e0957a56588c 100644
--- a/public/web/WebWidget.h
+++ b/public/web/WebWidget.h
@@ -144,6 +144,9 @@ public:
// compositor thread.
virtual void applyScrollAndScale(const WebSize& scrollDelta, float scaleFactor) { }
+ // Records draw events for the Performance Timeline.
+ virtual void recordDrawTiming(int64_t RectId, const WebVector<std::pair<int, double> >& draws) { }
+
// Called to inform the WebWidget that mouse capture was lost.
virtual void mouseCaptureLost() { }
« public/platform/WebLayer.h ('K') | « public/platform/WebLayer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698