1{
2  settings: {
3    export_header: "third_party/blink/renderer/core/core_export.h",
4    export_symbol: "CORE_EXPORT",
5    include_path: "third_party/blink/renderer/core/inspector",
6    includes: [
7      "third_party/blink/renderer/bindings/core/v8/script_source_code.h",
8      "third_party/blink/renderer/core/animation/animation.h",
9      "third_party/blink/renderer/core/core_probe_sink.h",
10      "third_party/blink/renderer/core/dom/character_data.h",
11      "third_party/blink/renderer/core/dom/pseudo_element.h",
12      "third_party/blink/renderer/core/html/html_slot_element.h",
13      "third_party/blink/renderer/core/loader/frame_loader_types.h",
14      "third_party/blink/renderer/core/page/chrome_client.h",
15      "third_party/blink/renderer/core/probe/core_probes.h",
16      "third_party/blink/public/web/web_media_inspector.h",
17    ],
18  },
19  observers: {
20    AdTracker: {
21      include_path: "third_party/blink/renderer/core/frame",
22      probes: [
23        "CallFunction",
24        "ExecuteScript",
25      ]
26    },
27    InspectorIssueReporter: {
28      probes: [
29        "DidFailLoading",
30      ]
31    },
32    InspectorAnimationAgent: {
33      probes: [
34        "AnimationPlayStateChanged",
35        "DidClearDocumentOfWindowObject",
36        "DidCreateAnimation",
37      ]
38    },
39    InspectorApplicationCacheAgent: {
40      probes: [
41        "NetworkStateChanged",
42        "UpdateApplicationCacheStatus",
43      ]
44    },
45    InspectorAuditsAgent: {
46      probes: [
47        "InspectorIssueAdded"
48      ]
49    },
50    InspectorCSSAgent: {
51      probes: [
52        "ActiveStyleSheetsUpdated",
53        "DidMutateStyleSheet",
54        "DocumentDetached",
55        "FontsUpdated",
56        "ForcePseudoState",
57        "MediaQueryResultChanged",
58        "WillChangeStyleElement",
59        "LocalFontsEnabled",
60        "DidUpdateComputedStyle",
61        "RecalculateStyle",
62      ]
63    },
64    InspectorDOMAgent: {
65      probes: [
66        "CharacterDataModified",
67        "DidCommitLoad",
68        "DidInsertDOMNode",
69        "DidInvalidateStyleAttr",
70        "DidModifyDOMAttr",
71        "DidPerformElementShadowDistribution",
72        "DidPerformSlotDistribution",
73        "DidPushShadowRoot",
74        "DidRemoveDOMAttr",
75        "DomContentLoadedEventFired",
76        "FrameDocumentUpdated",
77        "FrameOwnerContentUpdated",
78        "NodeCreated",
79        "PseudoElementCreated",
80        "PseudoElementDestroyed",
81        "WillModifyDOMAttr",
82        "WillPopShadowRoot",
83        "WillRemoveDOMNode",
84        "PortalRemoteFrameCreated"
85      ]
86    },
87    InspectorDOMDebuggerAgent: {
88      probes: [
89        "BreakableLocation",
90        "DidCreateCanvasContext",
91        "DidFireWebGLError",
92        "DidFireWebGLErrorOrWarning",
93        "DidFireWebGLWarning",
94        "DidInsertDOMNode",
95        "DidInvalidateStyleAttr",
96        "ExecuteScript",
97        "ScriptExecutionBlockedByCSP",
98        "UserCallback",
99        "WillInsertDOMNode",
100        "WillModifyDOMAttr",
101        "WillRemoveDOMNode",
102        "WillSendXMLHttpOrFetchNetworkRequest",
103        "DidCreateAudioContext",
104        "DidCloseAudioContext",
105        "DidResumeAudioContext",
106        "DidSuspendAudioContext",
107      ]
108    },
109    InspectorDOMSnapshotAgent: {
110      probes: [
111        "CharacterDataModified",
112        "DidInsertDOMNode",
113     ]
114    },
115    InspectorEmulationAgent: {
116      probes: [
117        "ApplyAcceptLanguageOverride",
118        "ApplyUserAgentOverride",
119        "ApplyUserAgentMetadataOverride",
120        "FrameStartedLoading",
121        "PrepareRequest",
122        "GetDisabledImageTypes",
123        "WillCommitLoad",
124      ]
125    },
126    InspectorLayerTreeAgent: {
127      probes: [
128        "LayerTreeDidChange",
129        "LayerTreePainted",
130      ]
131    },
132    InspectorLogAgent: {
133      probes: [
134        "ConsoleMessageAdded",
135      ]
136    },
137    InspectorMediaAgent: {
138      probes: [
139        "PlayerErrorsRaised",
140        "PlayerEventsAdded",
141        "PlayerMessagesLogged",
142        "PlayerPropertiesChanged",
143        "PlayersCreated"
144      ]
145    },
146    InspectorNetworkAgent: {
147      probes: [
148        "DidBlockRequest",
149        "DidChangeResourcePriority",
150        "DidCloseWebSocket",
151        "DidCommitLoad",
152        "DidCreateWebSocket",
153        "DidFailLoading",
154        "DidFinishLoading",
155        "DidFinishXHR",
156        "DidReceiveCorsRedirectResponse",
157        "DidReceiveData",
158        "DidReceiveBlob",
159        "DidReceiveEncodedDataLength",
160        "DidReceiveResourceResponse",
161        "DidReceiveScriptResponse",
162        "DidReceiveWebSocketMessage",
163        "DidReceiveWebSocketMessageError",
164        "DidReceiveWebSocketHandshakeResponse",
165        "DidSendWebSocketMessage",
166        "FrameClearedScheduledNavigation",
167        "FrameScheduledNavigation",
168        "MarkResourceAsCached",
169        "PrepareRequest",
170        "ScriptImported",
171        "ShouldBlockRequest",
172        "ShouldBypassServiceWorker",
173        "ShouldForceCorsPreflight",
174        "WillDispatchEventSourceEvent",
175        "WillLoadXHR",
176        "WillSendEventSourceRequest",
177        "WillSendRequest",
178        "WillSendNavigationRequest",
179        "WillSendWebSocketHandshakeRequest",
180        "SetDevToolsIds",
181      ]
182    },
183    InspectorPageAgent: {
184      probes: [
185        "ConsumeCompilationCache",
186        "DidChangeViewport",
187        "DidClearDocumentOfWindowObject",
188        "DidNavigateWithinDocument",
189        "WillCommitLoad",
190        "DidResizeMainFrame",
191        "DidRunJavaScriptDialog",
192        "DomContentLoadedEventFired",
193        "FileChooserOpened",
194        "FrameAttachedToParent",
195        "FrameClearedScheduledNavigation",
196        "FrameDetachedFromParent",
197        "FrameRequestedNavigation",
198        "FrameScheduledNavigation",
199        "FrameStartedLoading",
200        "FrameStoppedLoading",
201        "LifecycleEvent",
202        "LoadEventFired",
203        "PaintTiming",
204        "ProduceCompilationCache",
205        "RecalculateStyle",
206        "UpdateLayout",
207        "WillRunJavaScriptDialog",
208        "WindowOpen",
209      ]
210    },
211    PerformanceMonitor: {
212      include_path: "third_party/blink/renderer/core/frame",
213      probes: [
214        "CallFunction",
215        "ExecuteScript",
216        "RecalculateStyle",
217        "UpdateLayout",
218        "UserCallback",
219        "V8Compile",
220        "DocumentWriteFetchScript",
221      ]
222    },
223    InspectorPerformanceAgent: {
224      probes: [
225        "ConsoleTimeStamp",
226        "CallFunction",
227        "ExecuteScript",
228        "RecalculateStyle",
229        "UpdateLayout",
230        "V8Compile",
231        "WillStartDebuggerTask",
232        "DidFinishDebuggerTask",
233      ]
234    },
235    InspectorTraceEvents: {
236      probes: [
237        "CallFunction",
238        "ParseHTML",
239        "DidFailLoading",
240        "DidFinishLoading",
241        "DidReceiveData",
242        "DidReceiveResourceResponse",
243        "FrameStartedLoading",
244        "MarkResourceAsCached",
245        "PaintTiming",
246        "WillSendRequest",
247        "WillSendNavigationRequest",
248      ]
249    },
250    DevToolsSession: {
251      class: "DevToolsSession",
252      probes: [
253        "DidStartProvisionalLoad",
254        "DidFailProvisionalLoad",
255        "DidCommitLoad",
256        "PaintTiming",
257        "DomContentLoadedEventFired",
258      ]
259    },
260  }
261}
262