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

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

Issue 18344005: DevTools: expose setLayerTreeId() so we can relate events from LayerTreeHost (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed another regression Created 7 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
Index: Source/core/inspector/TimelineTraceEventProcessor.h
diff --git a/Source/core/inspector/TimelineTraceEventProcessor.h b/Source/core/inspector/TimelineTraceEventProcessor.h
index 48edc097cdb76d8092e556b3f0eaad0cc8cabbb4..e45eb0c70ba73b63877ea4e8af9046e94207c607 100644
--- a/Source/core/inspector/TimelineTraceEventProcessor.h
+++ b/Source/core/inspector/TimelineTraceEventProcessor.h
@@ -228,23 +228,26 @@ private:
void registerHandler(const char* name, TraceEventPhase, TraceEventHandler);
void onBeginFrame(const TraceEvent&);
- void onPaintSetupBegin(const TraceEvent&);
- void onPaintSetupEnd(const TraceEvent&);
+ void onUpdateLayerBegin(const TraceEvent&);
+ void onUpdateLayerEnd(const TraceEvent&);
void onPaintLayerBegin(const TraceEvent&);
void onPaintLayerEnd(const TraceEvent&);
+ void onPaintSetupBegin(const TraceEvent&);
+ void onPaintSetupEnd(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 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;
« no previous file with comments | « Source/core/inspector/InspectorTimelineAgent.cpp ('k') | Source/core/inspector/TimelineTraceEventProcessor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698