Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(364)

Side by Side Diff: sky/engine/core/inspector/InspectorTraceEvents.h

Issue 771323002: Remove a couple more core/ header includes from v8_inspector (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 SKY_ENGINE_CORE_INSPECTOR_INSPECTORTRACEEVENTS_H_ 5 #ifndef SKY_ENGINE_CORE_INSPECTOR_INSPECTORTRACEEVENTS_H_
6 #define SKY_ENGINE_CORE_INSPECTOR_INSPECTORTRACEEVENTS_H_ 6 #define SKY_ENGINE_CORE_INSPECTOR_INSPECTORTRACEEVENTS_H_
7 7
8 #include "sky/engine/platform/EventTracer.h" 8 #include "sky/engine/platform/EventTracer.h"
9 #include "sky/engine/platform/TraceEvent.h" 9 #include "sky/engine/platform/TraceEvent.h"
10 #include "sky/engine/wtf/Forward.h" 10 #include "sky/engine/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 KURL; 19 class KURL;
20 class LayoutRect; 20 class LayoutRect;
21 class LocalFrame;
22 class RenderObject; 21 class RenderObject;
23 class RenderImage; 22 class RenderImage;
24 class ResourceRequest; 23 class ResourceRequest;
25 class ResourceResponse; 24 class ResourceResponse;
26 class ScriptSourceCode; 25 class ScriptSourceCode;
27 class ScriptCallStack; 26 class ScriptCallStack;
28 27
29 class InspectorLayoutEvent { 28 class InspectorLayoutEvent {
yurys 2014/12/03 07:33:35 It might make sense to remove this file altogether
30 public: 29 public:
31 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> beginData(FrameView* ); 30 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> beginData(FrameView* );
32 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> endData(RenderObject * rootForThisLayout); 31 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> endData(RenderObject * rootForThisLayout);
33 }; 32 };
34 33
35 class InspectorSendRequestEvent { 34 class InspectorSendRequestEvent {
36 public: 35 public:
37 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(unsigned long i dentifier, LocalFrame*, const ResourceRequest&); 36 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(unsigned long i dentifier, const ResourceRequest&);
38 }; 37 };
39 38
40 class InspectorReceiveResponseEvent { 39 class InspectorReceiveResponseEvent {
41 public: 40 public:
42 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(unsigned long i dentifier, LocalFrame*, const ResourceResponse&); 41 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(unsigned long i dentifier, const ResourceResponse&);
43 }; 42 };
44 43
45 class InspectorReceiveDataEvent { 44 class InspectorReceiveDataEvent {
46 public: 45 public:
47 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(unsigned long i dentifier, LocalFrame*, int encodedDataLength); 46 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(unsigned long i dentifier, int encodedDataLength);
48 }; 47 };
49 48
50 class InspectorResourceFinishEvent { 49 class InspectorResourceFinishEvent {
51 public: 50 public:
52 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(unsigned long i dentifier, double finishTime, bool didFail); 51 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(unsigned long i dentifier, double finishTime, bool didFail);
53 }; 52 };
54 53
55 class InspectorTimerInstallEvent { 54 class InspectorTimerInstallEvent {
56 public: 55 public:
57 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex t*, int timerId, int timeout, bool singleShot); 56 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex t*, int timerId, int timeout, bool singleShot);
(...skipping 24 matching lines...) Expand all
82 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(RenderObject*, const LayoutRect& clipRect); 81 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(RenderObject*, const LayoutRect& clipRect);
83 }; 82 };
84 83
85 class InspectorPaintImageEvent { 84 class InspectorPaintImageEvent {
86 public: 85 public:
87 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const RenderIma ge&); 86 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const RenderIma ge&);
88 }; 87 };
89 88
90 class InspectorMarkLoadEvent { 89 class InspectorMarkLoadEvent {
91 public: 90 public:
92 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(LocalFrame*); 91 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data();
93 }; 92 };
94 93
95 class InspectorScrollLayerEvent { 94 class InspectorScrollLayerEvent {
96 public: 95 public:
97 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(RenderObject*); 96 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(RenderObject*);
98 }; 97 };
99 98
100 class InspectorEvaluateScriptEvent { 99 class InspectorEvaluateScriptEvent {
101 public: 100 public:
102 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(LocalFrame*, co nst String& url, int lineNumber); 101 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const String& u rl, int lineNumber);
103 }; 102 };
104 103
105 class InspectorFunctionCallEvent { 104 class InspectorFunctionCallEvent {
106 public: 105 public:
107 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex t*, int scriptId, const String& scriptName, int scriptLine); 106 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex t*, int scriptId, const String& scriptName, int scriptLine);
108 }; 107 };
109 108
110 class InspectorUpdateCountersEvent { 109 class InspectorUpdateCountersEvent {
111 public: 110 public:
112 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(); 111 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data();
(...skipping 11 matching lines...) Expand all
124 123
125 class InspectorTimeStampEvent { 124 class InspectorTimeStampEvent {
126 public: 125 public:
127 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex t*, const String& message); 126 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex t*, const String& message);
128 }; 127 };
129 128
130 } // namespace blink 129 } // namespace blink
131 130
132 131
133 #endif // SKY_ENGINE_CORE_INSPECTOR_INSPECTORTRACEEVENTS_H_ 132 #endif // SKY_ENGINE_CORE_INSPECTOR_INSPECTORTRACEEVENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698