| 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" |
| 11 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
| 12 #include "wtf/Forward.h" | 12 #include "wtf/Forward.h" |
| 13 #include "wtf/Functional.h" | 13 #include "wtf/Functional.h" |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 class AnimationPlayer; | 16 class AnimationPlayer; |
| 17 class CSSStyleSheetResource; | 17 class CSSStyleSheetResource; |
| 18 class DescendantInvalidationSet; | 18 class DescendantInvalidationSet; |
| 19 class Document; | 19 class Document; |
| 20 class Element; | 20 class Element; |
| 21 class Event; | 21 class Event; |
| 22 class ExecutionContext; | 22 class ExecutionContext; |
| 23 class FrameView; | 23 class FrameView; |
| 24 class GraphicsLayer; | 24 class GraphicsLayer; |
| 25 class ImageResource; | 25 class ImageResource; |
| 26 class KURL; | 26 class KURL; |
| 27 class Layer; |
| 27 class LayoutRect; | 28 class LayoutRect; |
| 28 class LocalFrame; | 29 class LocalFrame; |
| 29 class Node; | 30 class Node; |
| 30 class QualifiedName; | 31 class QualifiedName; |
| 31 class Page; | 32 class Page; |
| 32 class RenderImage; | 33 class RenderImage; |
| 33 class RenderLayer; | |
| 34 class RenderObject; | 34 class RenderObject; |
| 35 class ResourceRequest; | 35 class ResourceRequest; |
| 36 class ResourceResponse; | 36 class ResourceResponse; |
| 37 class StyleChangeReasonForTracing; | 37 class StyleChangeReasonForTracing; |
| 38 class StyleImage; | 38 class StyleImage; |
| 39 class TracedValue; | 39 class TracedValue; |
| 40 class WorkerThread; | 40 class WorkerThread; |
| 41 class XMLHttpRequest; | 41 class XMLHttpRequest; |
| 42 | 42 |
| 43 class InspectorLayoutEvent { | 43 class InspectorLayoutEvent { |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 }; | 189 }; |
| 190 | 190 |
| 191 class InspectorLayerInvalidationTrackingEvent { | 191 class InspectorLayerInvalidationTrackingEvent { |
| 192 public: | 192 public: |
| 193 static const char SquashingLayerGeometryWasUpdated[]; | 193 static const char SquashingLayerGeometryWasUpdated[]; |
| 194 static const char AddedToSquashingLayer[]; | 194 static const char AddedToSquashingLayer[]; |
| 195 static const char RemovedFromSquashingLayer[]; | 195 static const char RemovedFromSquashingLayer[]; |
| 196 static const char ReflectionLayerChanged[]; | 196 static const char ReflectionLayerChanged[]; |
| 197 static const char NewCompositedLayer[]; | 197 static const char NewCompositedLayer[]; |
| 198 | 198 |
| 199 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const RenderLay
er*, const char* reason); | 199 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const Layer*, c
onst char* reason); |
| 200 }; | 200 }; |
| 201 #define TRACE_LAYER_INVALIDATION(LAYER, REASON) \ | 201 #define TRACE_LAYER_INVALIDATION(LAYER, REASON) \ |
| 202 TRACE_EVENT_INSTANT1( \ | 202 TRACE_EVENT_INSTANT1( \ |
| 203 TRACE_DISABLED_BY_DEFAULT("devtools.timeline.invalidationTracking"), \ | 203 TRACE_DISABLED_BY_DEFAULT("devtools.timeline.invalidationTracking"), \ |
| 204 "LayerInvalidationTracking", \ | 204 "LayerInvalidationTracking", \ |
| 205 "data", \ | 205 "data", \ |
| 206 InspectorLayerInvalidationTrackingEvent::data((LAYER), (REASON))) | 206 InspectorLayerInvalidationTrackingEvent::data((LAYER), (REASON))) |
| 207 | 207 |
| 208 class InspectorPaintEvent { | 208 class InspectorPaintEvent { |
| 209 public: | 209 public: |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 | 299 |
| 300 class InspectorAnimationStateEvent { | 300 class InspectorAnimationStateEvent { |
| 301 public: | 301 public: |
| 302 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const Animation
Player&); | 302 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const Animation
Player&); |
| 303 }; | 303 }; |
| 304 | 304 |
| 305 } // namespace blink | 305 } // namespace blink |
| 306 | 306 |
| 307 | 307 |
| 308 #endif // !defined(InspectorTraceEvents_h) | 308 #endif // !defined(InspectorTraceEvents_h) |
| OLD | NEW |