OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef InspectorTraceEvents_h | 5 #ifndef InspectorTraceEvents_h |
6 #define InspectorTraceEvents_h | 6 #define InspectorTraceEvents_h |
7 | 7 |
8 #include "platform/EventTracer.h" | 8 #include "platform/EventTracer.h" |
9 #include "platform/TraceEvent.h" | 9 #include "platform/TraceEvent.h" |
10 #include "wtf/Forward.h" | 10 #include "wtf/Forward.h" |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 class Document; | 14 class Document; |
15 class Event; | 15 class Event; |
16 class ExecutionContext; | 16 class ExecutionContext; |
17 class FrameView; | 17 class FrameView; |
18 class GraphicsContext; | 18 class GraphicsContext; |
19 class GraphicsLayer; | 19 class GraphicsLayer; |
20 class KURL; | 20 class KURL; |
21 class LayoutRect; | 21 class LayoutRect; |
22 class LocalFrame; | 22 class LocalFrame; |
23 class RenderObject; | 23 class RenderObject; |
24 class RenderImage; | 24 class RenderImage; |
25 class ResourceRequest; | 25 class ResourceRequest; |
26 class ResourceResponse; | 26 class ResourceResponse; |
27 class ScriptSourceCode; | 27 class ScriptSourceCode; |
28 class ScriptCallStack; | 28 class ScriptCallStack; |
| 29 class WorkerThread; |
29 class XMLHttpRequest; | 30 class XMLHttpRequest; |
30 | 31 |
31 class InspectorLayoutEvent { | 32 class InspectorLayoutEvent { |
32 public: | 33 public: |
33 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> beginData(FrameView*
); | 34 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> beginData(FrameView*
); |
34 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> endData(RenderObject
* rootForThisLayout); | 35 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> endData(RenderObject
* rootForThisLayout); |
35 }; | 36 }; |
36 | 37 |
37 class InspectorSendRequestEvent { | 38 class InspectorSendRequestEvent { |
38 public: | 39 public: |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 class InspectorEventDispatchEvent { | 143 class InspectorEventDispatchEvent { |
143 public: | 144 public: |
144 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const Event&); | 145 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const Event&); |
145 }; | 146 }; |
146 | 147 |
147 class InspectorTimeStampEvent { | 148 class InspectorTimeStampEvent { |
148 public: | 149 public: |
149 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex
t*, const String& message); | 150 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex
t*, const String& message); |
150 }; | 151 }; |
151 | 152 |
| 153 class InspectorTracingSessionIdForWorkerEvent { |
| 154 public: |
| 155 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const String& s
essionId, WorkerThread*); |
| 156 }; |
| 157 |
152 } // namespace blink | 158 } // namespace blink |
153 | 159 |
154 | 160 |
155 #endif // !defined(InspectorTraceEvents_h) | 161 #endif // !defined(InspectorTraceEvents_h) |
OLD | NEW |