| Index: Source/core/inspector/InspectorTimelineAgent.h
|
| diff --git a/Source/core/inspector/InspectorTimelineAgent.h b/Source/core/inspector/InspectorTimelineAgent.h
|
| index d445192e50c450d6077df6f8b7dda6685f5a0161..12ef89455bb30d92a1cd22e2f11d0630838ce08e 100644
|
| --- a/Source/core/inspector/InspectorTimelineAgent.h
|
| +++ b/Source/core/inspector/InspectorTimelineAgent.h
|
| @@ -83,6 +83,7 @@ namespace TimelineRecordType {
|
| extern const char DecodeImage[];
|
| extern const char Rasterize[];
|
| extern const char PaintSetup[];
|
| +extern const char GPUTask[];
|
| };
|
|
|
| class TimelineTimeConverter {
|
| @@ -120,7 +121,7 @@ public:
|
|
|
| virtual void enable(ErrorString*);
|
| virtual void disable(ErrorString*);
|
| - virtual void start(ErrorString*, const int* maxCallStackDepth, const bool* bufferEvents, const bool* includeDomCounters);
|
| + virtual void start(ErrorString*, const int* maxCallStackDepth, const bool* bufferEvents, const bool* includeDomCounters, const bool* includeGPUEvents);
|
| virtual void stop(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Timeline::TimelineEvent> >& events);
|
|
|
| void setLayerTreeId(int layerTreeId) { m_layerTreeId = layerTreeId; }
|
| @@ -273,6 +274,8 @@ private:
|
| void innerStart();
|
| void innerStop(bool fromConsole);
|
|
|
| + bool isCollectingGPUEvents() const;
|
| +
|
| InspectorPageAgent* m_pageAgent;
|
| InspectorMemoryAgent* m_memoryAgent;
|
| InspectorDOMAgent* m_domAgent;
|
|
|