| Index: Source/core/inspector/InspectorTimelineAgent.h
|
| diff --git a/Source/core/inspector/InspectorTimelineAgent.h b/Source/core/inspector/InspectorTimelineAgent.h
|
| index 419ed0887bdf0bf16a3c7c017e26cf837f9b21e7..c8492c5292509e63366c697f42856c1e68d705f2 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;
|
|
|