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

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: Code refactoring in RenderView 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
« Source/web/WebViewImpl.cpp ('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 54b00f3506d41f3f114ebfb022abf5ac6b577916..3b630e9b67ae1dc7ff633d6d286d1c02dc29fcd8 100644
--- a/public/web/WebWidget.h
+++ b/public/web/WebWidget.h
@@ -138,6 +138,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() { }
« Source/web/WebViewImpl.cpp ('K') | « public/platform/WebLayer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698