| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef SKY_ENGINE_CORE_INSPECTOR_INSPECTORTRACEEVENTS_H_ | |
| 6 #define SKY_ENGINE_CORE_INSPECTOR_INSPECTORTRACEEVENTS_H_ | |
| 7 | |
| 8 #include "sky/engine/platform/EventTracer.h" | |
| 9 #include "sky/engine/platform/TraceEvent.h" | |
| 10 #include "sky/engine/wtf/Forward.h" | |
| 11 | |
| 12 namespace blink { | |
| 13 | |
| 14 class Document; | |
| 15 class Event; | |
| 16 class ExecutionContext; | |
| 17 class FrameView; | |
| 18 class GraphicsContext; | |
| 19 class KURL; | |
| 20 class LayoutRect; | |
| 21 class RenderObject; | |
| 22 class RenderImage; | |
| 23 class ResourceRequest; | |
| 24 class ResourceResponse; | |
| 25 class ScriptSourceCode; | |
| 26 class ScriptCallStack; | |
| 27 | |
| 28 class InspectorLayoutEvent { | |
| 29 public: | |
| 30 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> beginData(FrameView*
); | |
| 31 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> endData(RenderObject
* rootForThisLayout); | |
| 32 }; | |
| 33 | |
| 34 class InspectorSendRequestEvent { | |
| 35 public: | |
| 36 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(unsigned long i
dentifier, const ResourceRequest&); | |
| 37 }; | |
| 38 | |
| 39 class InspectorReceiveResponseEvent { | |
| 40 public: | |
| 41 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(unsigned long i
dentifier, const ResourceResponse&); | |
| 42 }; | |
| 43 | |
| 44 class InspectorReceiveDataEvent { | |
| 45 public: | |
| 46 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(unsigned long i
dentifier, int encodedDataLength); | |
| 47 }; | |
| 48 | |
| 49 class InspectorResourceFinishEvent { | |
| 50 public: | |
| 51 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(unsigned long i
dentifier, double finishTime, bool didFail); | |
| 52 }; | |
| 53 | |
| 54 class InspectorTimerInstallEvent { | |
| 55 public: | |
| 56 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex
t*, int timerId, int timeout, bool singleShot); | |
| 57 }; | |
| 58 | |
| 59 class InspectorTimerRemoveEvent { | |
| 60 public: | |
| 61 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex
t*, int timerId); | |
| 62 }; | |
| 63 | |
| 64 class InspectorTimerFireEvent { | |
| 65 public: | |
| 66 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex
t*, int timerId); | |
| 67 }; | |
| 68 | |
| 69 class InspectorAnimationFrameEvent { | |
| 70 public: | |
| 71 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(Document*, int
callbackId); | |
| 72 }; | |
| 73 | |
| 74 class InspectorParseHtmlEvent { | |
| 75 public: | |
| 76 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> beginData(Document*,
unsigned startLine); | |
| 77 }; | |
| 78 | |
| 79 class InspectorPaintEvent { | |
| 80 public: | |
| 81 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(RenderObject*,
const LayoutRect& clipRect); | |
| 82 }; | |
| 83 | |
| 84 class InspectorPaintImageEvent { | |
| 85 public: | |
| 86 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const RenderIma
ge&); | |
| 87 }; | |
| 88 | |
| 89 class InspectorMarkLoadEvent { | |
| 90 public: | |
| 91 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(); | |
| 92 }; | |
| 93 | |
| 94 class InspectorEvaluateScriptEvent { | |
| 95 public: | |
| 96 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const String& u
rl, int lineNumber); | |
| 97 }; | |
| 98 | |
| 99 class InspectorFunctionCallEvent { | |
| 100 public: | |
| 101 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex
t*, int scriptId, const String& scriptName, int scriptLine); | |
| 102 }; | |
| 103 | |
| 104 class InspectorUpdateCountersEvent { | |
| 105 public: | |
| 106 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(); | |
| 107 }; | |
| 108 | |
| 109 class InspectorCallStackEvent { | |
| 110 public: | |
| 111 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> currentCallStack(); | |
| 112 }; | |
| 113 | |
| 114 class InspectorEventDispatchEvent { | |
| 115 public: | |
| 116 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const Event&); | |
| 117 }; | |
| 118 | |
| 119 class InspectorTimeStampEvent { | |
| 120 public: | |
| 121 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex
t*, const String& message); | |
| 122 }; | |
| 123 | |
| 124 } // namespace blink | |
| 125 | |
| 126 | |
| 127 #endif // SKY_ENGINE_CORE_INSPECTOR_INSPECTORTRACEEVENTS_H_ | |
| OLD | NEW |