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 Node; |
23 class RenderObject; | 24 class RenderObject; |
24 class RenderImage; | 25 class RenderImage; |
25 class ResourceRequest; | 26 class ResourceRequest; |
26 class ResourceResponse; | 27 class ResourceResponse; |
27 class ScriptSourceCode; | 28 class ScriptSourceCode; |
28 class ScriptCallStack; | 29 class ScriptCallStack; |
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 |
| 38 class InspectorStyleInvalidationTrackingEvent { |
| 39 public: |
| 40 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(Node*); |
| 41 }; |
| 42 |
| 43 class InspectorLayoutInvalidationTrackingEvent { |
| 44 public: |
| 45 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(RenderObject*); |
| 46 }; |
| 47 |
| 48 class InspectorPaintInvalidationTrackingEvent { |
| 49 public: |
| 50 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(RenderObject*); |
| 51 }; |
| 52 |
37 class InspectorSendRequestEvent { | 53 class InspectorSendRequestEvent { |
38 public: | 54 public: |
39 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(unsigned long i
dentifier, LocalFrame*, const ResourceRequest&); | 55 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(unsigned long i
dentifier, LocalFrame*, const ResourceRequest&); |
40 }; | 56 }; |
41 | 57 |
42 class InspectorReceiveResponseEvent { | 58 class InspectorReceiveResponseEvent { |
43 public: | 59 public: |
44 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(unsigned long i
dentifier, LocalFrame*, const ResourceResponse&); | 60 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(unsigned long i
dentifier, LocalFrame*, const ResourceResponse&); |
45 }; | 61 }; |
46 | 62 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 | 162 |
147 class InspectorTimeStampEvent { | 163 class InspectorTimeStampEvent { |
148 public: | 164 public: |
149 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex
t*, const String& message); | 165 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex
t*, const String& message); |
150 }; | 166 }; |
151 | 167 |
152 } // namespace blink | 168 } // namespace blink |
153 | 169 |
154 | 170 |
155 #endif // !defined(InspectorTraceEvents_h) | 171 #endif // !defined(InspectorTraceEvents_h) |
OLD | NEW |