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

Unified Diff: Source/core/inspector/TimelineTraceEventProcessor.h

Issue 16878004: DevTools: add instrumentation for deferred canvas rasterization (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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
Index: Source/core/inspector/TimelineTraceEventProcessor.h
diff --git a/Source/core/inspector/TimelineTraceEventProcessor.h b/Source/core/inspector/TimelineTraceEventProcessor.h
index 8eb011e8f8eb0c46afc8ef08fb4e1d81b19d1761..94a4c5e011f6178cd206d0259eb7c66912adad66 100644
--- a/Source/core/inspector/TimelineTraceEventProcessor.h
+++ b/Source/core/inspector/TimelineTraceEventProcessor.h
@@ -230,23 +230,26 @@ private:
void registerHandler(const char* name, TraceEventPhase, TraceEventHandler);
void onBeginFrame(const TraceEvent&);
+ void onUpdateLayerBegin(const TraceEvent&);
+ void onUpdateLayerEnd(const TraceEvent&);
void onPaintSetupBegin(const TraceEvent&);
void onPaintSetupEnd(const TraceEvent&);
- void onPaintLayerBegin(const TraceEvent&);
- void onPaintLayerEnd(const TraceEvent&);
void onRasterTaskBegin(const TraceEvent&);
void onRasterTaskEnd(const TraceEvent&);
+ void onPaint(const TraceEvent&);
void onImageDecodeTaskBegin(const TraceEvent&);
void onImageDecodeTaskEnd(const TraceEvent&);
void onImageDecodeBegin(const TraceEvent&);
void onImageDecodeEnd(const TraceEvent&);
+ void onRasterizeCanvasBegin(const TraceEvent&);
+ void onRasterizeCanvasEnd(const TraceEvent&);
void onLayerDeleted(const TraceEvent&);
- void onPaint(const TraceEvent&);
WeakPtr<InspectorTimelineAgent> m_timelineAgent;
TimelineTimeConverter m_timeConverter;
InspectorClient* m_inspectorClient;
unsigned long long m_pageId;
+ int m_layerTreeId;
typedef HashMap<std::pair<String, int>, TraceEventHandler> HandlersMap;
HandlersMap m_handlersByType;

Powered by Google App Engine
This is Rietveld 408576698