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 "core/css/CSSSelector.h" | 8 #include "core/css/CSSSelector.h" |
9 #include "platform/EventTracer.h" | 9 #include "platform/EventTracer.h" |
10 #include "platform/TraceEvent.h" | 10 #include "platform/TraceEvent.h" |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex
t*, XMLHttpRequest*); | 179 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex
t*, XMLHttpRequest*); |
180 }; | 180 }; |
181 | 181 |
182 class InspectorLayerInvalidationTrackingEvent { | 182 class InspectorLayerInvalidationTrackingEvent { |
183 public: | 183 public: |
184 static const char SquashingLayerGeometryWasUpdated[]; | 184 static const char SquashingLayerGeometryWasUpdated[]; |
185 static const char AddedToSquashingLayer[]; | 185 static const char AddedToSquashingLayer[]; |
186 static const char RemovedFromSquashingLayer[]; | 186 static const char RemovedFromSquashingLayer[]; |
187 static const char ReflectionLayerChanged[]; | 187 static const char ReflectionLayerChanged[]; |
188 static const char NewCompositedLayer[]; | 188 static const char NewCompositedLayer[]; |
189 static const char AncestorRequiresNewLayer[]; | |
190 | 189 |
191 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const RenderLay
er*, const char* reason); | 190 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const RenderLay
er*, const char* reason); |
192 }; | 191 }; |
193 #define TRACE_LAYER_INVALIDATION(LAYER, REASON) \ | 192 #define TRACE_LAYER_INVALIDATION(LAYER, REASON) \ |
194 TRACE_EVENT_INSTANT1( \ | 193 TRACE_EVENT_INSTANT1( \ |
195 TRACE_DISABLED_BY_DEFAULT("devtools.timeline.invalidationTracking"), \ | 194 TRACE_DISABLED_BY_DEFAULT("devtools.timeline.invalidationTracking"), \ |
196 "LayerInvalidationTracking", \ | 195 "LayerInvalidationTracking", \ |
197 "data", \ | 196 "data", \ |
198 InspectorLayerInvalidationTrackingEvent::data((LAYER), (REASON))) | 197 InspectorLayerInvalidationTrackingEvent::data((LAYER), (REASON))) |
199 | 198 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 | 248 |
250 class InspectorTracingSessionIdForWorkerEvent { | 249 class InspectorTracingSessionIdForWorkerEvent { |
251 public: | 250 public: |
252 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const String& s
essionId, WorkerThread*); | 251 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const String& s
essionId, WorkerThread*); |
253 }; | 252 }; |
254 | 253 |
255 } // namespace blink | 254 } // namespace blink |
256 | 255 |
257 | 256 |
258 #endif // !defined(InspectorTraceEvents_h) | 257 #endif // !defined(InspectorTraceEvents_h) |
OLD | NEW |