OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 */ | 61 */ |
62 | 62 |
63 interface InspectorInstrumentation { | 63 interface InspectorInstrumentation { |
64 | 64 |
65 #include "core/dom/PseudoElement.h" | 65 #include "core/dom/PseudoElement.h" |
66 | 66 |
67 [Page, Inspector, PageDebugger, PageRuntime] | 67 [Page, Inspector, PageDebugger, PageRuntime] |
68 void didClearWindowObjectInWorld([Keep] Frame*, DOMWrapperWorld*); | 68 void didClearWindowObjectInWorld([Keep] Frame*, DOMWrapperWorld*); |
69 | 69 |
70 [DOMDebugger, Inline=FastReturn] | 70 [DOMDebugger, Inline=FastReturn] |
71 void willInsertDOMNode(Document*, Node* parent); | 71 void willInsertDOMNode([Keep] Node* parent); |
72 | 72 |
73 [DOM, DOMDebugger, Inline=FastReturn] | 73 [DOM, DOMDebugger, Inline=FastReturn] |
74 void didInsertDOMNode(Document*, Node*); | 74 void didInsertDOMNode([Keep] Node*); |
75 | 75 |
76 [DOMDebugger, DOM, Inline=FastReturn] | 76 [DOMDebugger, DOM, Inline=FastReturn] |
77 void willRemoveDOMNode(Document* document, Node*); | 77 void willRemoveDOMNode([Keep] Node*); |
78 | 78 |
79 [DOMDebugger, DOM, Inline=FastReturn] | 79 [DOMDebugger, DOM, Inline=FastReturn] |
80 void willModifyDOMAttr(Document*, Element*, const AtomicString& oldValue, co
nst AtomicString& newValue); | 80 void willModifyDOMAttr([Keep] Element*, const AtomicString& oldValue, const
AtomicString& newValue); |
81 | 81 |
82 [DOM, Inline=FastReturn] | 82 [DOM, Inline=FastReturn] |
83 void didModifyDOMAttr(Document*, Element*, const AtomicString& name, const A
tomicString& value); | 83 void didModifyDOMAttr([Keep] Element*, const AtomicString& name, const Atomi
cString& value); |
84 | 84 |
85 [DOM, Inline=FastReturn] | 85 [DOM, Inline=FastReturn] |
86 void didRemoveDOMAttr(Document*, Element*, const AtomicString& name); | 86 void didRemoveDOMAttr([Keep] Element*, const AtomicString& name); |
87 | 87 |
88 [DOM, Inline=FastReturn] | 88 [DOM, Inline=FastReturn] |
89 void characterDataModified(Document*, CharacterData*); | 89 void characterDataModified([Keep] CharacterData*); |
90 | 90 |
91 [DOM, DOMDebugger, Inline=FastReturn] | 91 [DOM, DOMDebugger, Inline=FastReturn] |
92 void didInvalidateStyleAttr(Document*, Node*); | 92 void didInvalidateStyleAttr([Keep] Node*); |
93 | 93 |
94 [CSS, Inline=FastReturn] | 94 [CSS, Inline=FastReturn] |
95 void activeStyleSheetsUpdated([Keep] Document*, const Vector<RefPtr<StyleShe
et> >& newSheets); | 95 void activeStyleSheetsUpdated([Keep] Document*, const Vector<RefPtr<StyleShe
et> >& newSheets); |
96 | 96 |
97 [Console] | 97 [Console] |
98 void frameWindowDiscarded(Frame*, DOMWindow* domWindow); | 98 void frameWindowDiscarded(Frame*, DOMWindow* domWindow); |
99 | 99 |
100 [CSS, Inline=FastReturn] | 100 [CSS, Inline=FastReturn] |
101 void mediaQueryResultChanged(Document*); | 101 void mediaQueryResultChanged(Document*); |
102 | 102 |
103 [DOM, Inline=FastReturn] | 103 [DOM, Inline=FastReturn] |
104 void didPushShadowRoot([Keep] Element* host, ShadowRoot*); | 104 void didPushShadowRoot([Keep] Element* host, ShadowRoot*); |
105 | 105 |
106 [DOM, Inline=FastReturn] | 106 [DOM, Inline=FastReturn] |
107 void willPopShadowRoot([Keep] Element* host, ShadowRoot*); | 107 void willPopShadowRoot([Keep] Element* host, ShadowRoot*); |
108 | 108 |
109 [CSS, Inline=FastReturn] | 109 [CSS, Inline=FastReturn] |
110 void didCreateNamedFlow([Keep] Document*, NamedFlow*); | 110 void didCreateNamedFlow([Keep] Document*, NamedFlow*); |
111 | 111 |
112 [CSS, Inline=FastReturn] | 112 [CSS, Inline=FastReturn] |
113 void willRemoveNamedFlow([Keep] Document*, NamedFlow*); | 113 void willRemoveNamedFlow([Keep] Document*, NamedFlow*); |
114 | 114 |
115 [CSS, Inline=FastReturn] | 115 [CSS, Inline=FastReturn] |
116 void didUpdateRegionLayout([Keep] Document*, NamedFlow*); | 116 void didUpdateRegionLayout([Keep] Document*, NamedFlow*); |
117 | 117 |
118 [CSS, Inline=FastReturn] | 118 [CSS, Inline=FastReturn] |
119 void didChangeRegionOverset([Keep] Document*, NamedFlow*); | 119 void didChangeRegionOverset([Keep] Document*, NamedFlow*); |
120 | 120 |
121 [DOMDebugger, Inline=FastReturn] | 121 [DOMDebugger, Inline=FastReturn] |
122 void willSendXMLHttpRequest(ScriptExecutionContext*, const String& url); | 122 void willSendXMLHttpRequest(ExecutionContext*, const String& url); |
123 | 123 |
124 [DOMDebugger, Inline=FastReturn] | 124 [DOMDebugger, Inline=FastReturn] |
125 void didFireWebGLError(Element*, const String& errorName); | 125 void didFireWebGLError(Element*, const String& errorName); |
126 | 126 |
127 [DOMDebugger, Inline=FastReturn] | 127 [DOMDebugger, Inline=FastReturn] |
128 void didFireWebGLWarning(Element*); | 128 void didFireWebGLWarning(Element*); |
129 | 129 |
130 [DOMDebugger, Inline=FastReturn] | 130 [DOMDebugger, Inline=FastReturn] |
131 void didFireWebGLErrorOrWarning(Element*, const String& message); | 131 void didFireWebGLErrorOrWarning(Element*, const String& message); |
132 | 132 |
133 [Timeline, Inline=FastReturn] | 133 [Timeline, Inline=FastReturn] |
134 void didScheduleResourceRequest([Keep] Document*, const String& url); | 134 void didScheduleResourceRequest([Keep] Document*, const String& url); |
135 | 135 |
136 [DOMDebugger, Timeline, Inline=FastReturn] | 136 [DOMDebugger, Timeline, Inline=FastReturn] |
137 void didInstallTimer([Keep] ScriptExecutionContext*, int timerId, int timeou
t, bool singleShot); | 137 void didInstallTimer([Keep] ExecutionContext*, int timerId, int timeout, boo
l singleShot); |
138 | 138 |
139 [DOMDebugger, Timeline, Inline=FastReturn] | 139 [DOMDebugger, Timeline, Inline=FastReturn] |
140 void didRemoveTimer([Keep] ScriptExecutionContext*, int timerId); | 140 void didRemoveTimer([Keep] ExecutionContext*, int timerId); |
141 | 141 |
142 [Timeline, Inline=FastReturn] | 142 [Timeline, Inline=FastReturn] |
143 InspectorInstrumentationCookie willCallFunction([Keep] ScriptExecutionContex
t*, const String& scriptName, int scriptLine); | 143 InspectorInstrumentationCookie willCallFunction([Keep] ExecutionContext*, co
nst String& scriptName, int scriptLine); |
144 | 144 |
145 [Timeline, Inline=FastReturn] | 145 [Timeline, Inline=FastReturn] |
146 void didCallFunction(const InspectorInstrumentationCookie&); | 146 void didCallFunction(const InspectorInstrumentationCookie&); |
147 | 147 |
148 [Timeline, Inline=FastReturn] | 148 [Timeline, Inline=FastReturn] |
149 InspectorInstrumentationCookie willDispatchXHRReadyStateChangeEvent([Keep] S
criptExecutionContext*, XMLHttpRequest*); | 149 InspectorInstrumentationCookie willDispatchXHRReadyStateChangeEvent([Keep] E
xecutionContext*, XMLHttpRequest*); |
150 | 150 |
151 [Timeline, Inline=FastReturn] | 151 [Timeline, Inline=FastReturn] |
152 void didDispatchXHRReadyStateChangeEvent(const InspectorInstrumentationCooki
e&); | 152 void didDispatchXHRReadyStateChangeEvent(const InspectorInstrumentationCooki
e&); |
153 | 153 |
154 [Timeline, Inline=FastReturn] | 154 [Timeline, Inline=FastReturn] |
155 InspectorInstrumentationCookie willDispatchEvent([Keep] Document*, const Eve
nt&, DOMWindow*, Node*, const EventPath&); | 155 InspectorInstrumentationCookie willDispatchEvent([Keep] Document*, const Eve
nt&, DOMWindow*, Node*, const EventPath&); |
156 | 156 |
157 [Timeline, Inline=FastReturn] | 157 [Timeline, Inline=FastReturn] |
158 void didDispatchEvent(const InspectorInstrumentationCookie&); | 158 void didDispatchEvent(const InspectorInstrumentationCookie&); |
159 | 159 |
160 [DOMDebugger, Inline=FastReturn] | 160 [DOMDebugger, Inline=FastReturn] |
161 InspectorInstrumentationCookie willHandleEvent(ScriptExecutionContext*, Even
t*); | 161 InspectorInstrumentationCookie willHandleEvent(ExecutionContext*, Event*); |
162 | 162 |
163 [Debugger, Inline=FastReturn] | 163 [Debugger, Inline=FastReturn] |
164 void didHandleEvent(const InspectorInstrumentationCookie&); | 164 void didHandleEvent(const InspectorInstrumentationCookie&); |
165 | 165 |
166 [Timeline, Inline=FastReturn] | 166 [Timeline, Inline=FastReturn] |
167 InspectorInstrumentationCookie willDispatchEventOnWindow(Frame*, const Event
&, DOMWindow*); | 167 InspectorInstrumentationCookie willDispatchEventOnWindow(Frame*, const Event
&, DOMWindow*); |
168 | 168 |
169 [Timeline, Inline=FastReturn] | 169 [Timeline, Inline=FastReturn] |
170 void didDispatchEventOnWindow(const InspectorInstrumentationCookie&); | 170 void didDispatchEventOnWindow(const InspectorInstrumentationCookie&); |
171 | 171 |
172 [Timeline, Inline=FastReturn] | 172 [Timeline, Inline=FastReturn] |
173 InspectorInstrumentationCookie willEvaluateScript([Keep] Frame*, const Strin
g& url, int lineNumber); | 173 InspectorInstrumentationCookie willEvaluateScript([Keep] Frame*, const Strin
g& url, int lineNumber); |
174 | 174 |
175 [Timeline, Inline=FastReturn] | 175 [Timeline, Inline=FastReturn] |
176 void didEvaluateScript(const InspectorInstrumentationCookie&); | 176 void didEvaluateScript(const InspectorInstrumentationCookie&); |
177 | 177 |
178 [Page, Inline=FastReturn] | 178 [Page, Inline=FastReturn] |
179 void scriptsEnabled(Page*, bool isEnabled); | 179 void scriptsEnabled(Page*, bool isEnabled); |
180 | 180 |
181 [PageRuntime, Inline=FastReturn] | 181 [PageRuntime, Inline=FastReturn] |
182 void didCreateIsolatedContext([Keep] Frame*, ScriptState*, SecurityOrigin*); | 182 void didCreateIsolatedContext([Keep] Frame*, ScriptState*, SecurityOrigin*); |
183 | 183 |
184 [DOMDebugger, Timeline, Inline=FastReturn] | 184 [DOMDebugger, Timeline, Inline=FastReturn] |
185 InspectorInstrumentationCookie willFireTimer([Keep] ScriptExecutionContext*,
int timerId); | 185 InspectorInstrumentationCookie willFireTimer([Keep] ExecutionContext*, int t
imerId); |
186 | 186 |
187 [Debugger, Timeline, Inline=FastReturn] | 187 [Debugger, Timeline, Inline=FastReturn] |
188 void didFireTimer(const InspectorInstrumentationCookie&); | 188 void didFireTimer(const InspectorInstrumentationCookie&); |
189 | 189 |
190 [Timeline, Inline=FastReturn] | 190 [Timeline, Inline=FastReturn] |
191 void didInvalidateLayout([Keep] Frame*); | 191 void didInvalidateLayout([Keep] Frame*); |
192 | 192 |
193 [Timeline, Inline=FastReturn] | 193 [Timeline, Inline=FastReturn] |
194 InspectorInstrumentationCookie willLayout([Keep] Frame*); | 194 InspectorInstrumentationCookie willLayout([Keep] Frame*); |
195 | 195 |
196 [Timeline, Page, Inline=FastReturn] | 196 [Timeline, Page, Inline=FastReturn] |
197 void didLayout(const InspectorInstrumentationCookie&, RenderObject* root); | 197 void didLayout(const InspectorInstrumentationCookie&, RenderObject* root); |
198 | 198 |
| 199 [Timeline, Inline=FastReturn] |
| 200 void willAutosizeText([Keep] RenderObject* root); |
| 201 |
| 202 [Timeline, Inline=FastReturn] |
| 203 void didAutosizeText([Keep] RenderObject* root); |
| 204 |
199 [Page, Inline=FastReturn] | 205 [Page, Inline=FastReturn] |
200 void didScroll(Page*); | 206 void didScroll(Page*); |
201 | 207 |
202 [Page, Inline=FastReturn] | 208 [Page, Inline=FastReturn] |
203 void didResizeMainFrame(Page*); | 209 void didResizeMainFrame(Page*); |
204 | 210 |
205 [Timeline, Inline=FastReturn] | 211 [Timeline, Inline=FastReturn] |
206 InspectorInstrumentationCookie willDispatchXHRLoadEvent([Keep] ScriptExecuti
onContext*, XMLHttpRequest*); | 212 InspectorInstrumentationCookie willDispatchXHRLoadEvent([Keep] ExecutionCont
ext*, XMLHttpRequest*); |
207 | 213 |
208 [Timeline, Inline=FastReturn] | 214 [Timeline, Inline=FastReturn] |
209 void didDispatchXHRLoadEvent(const InspectorInstrumentationCookie&); | 215 void didDispatchXHRLoadEvent(const InspectorInstrumentationCookie&); |
210 | 216 |
211 [Timeline, Inline=FastReturn] | 217 [Timeline, Inline=FastReturn] |
212 void willScrollLayer([Keep] RenderObject*); | 218 void willScrollLayer([Keep] RenderObject*); |
213 | 219 |
214 [Timeline, Inline=FastReturn] | 220 [Timeline, Inline=FastReturn] |
215 void didScrollLayer(RenderObject*); | 221 void didScrollLayer(RenderObject*); |
216 | 222 |
217 [Timeline, Inline=FastReturn] | 223 [Timeline, Inline=FastReturn] |
218 void willPaint([Keep] RenderObject*); | 224 void willPaint([Keep] RenderObject*); |
219 | 225 |
220 [Timeline, Page, Inline=FastReturn] | 226 [Timeline, Page, LayerTree, Inline=FastReturn] |
221 void didPaint([Keep] RenderObject*, GraphicsContext*, const LayoutRect&); | 227 void didPaint([Keep] RenderObject*, GraphicsContext*, const LayoutRect&); |
222 | 228 |
223 [Timeline, Inline=FastReturn] | 229 [Timeline, Inline=FastReturn] |
224 void willPaintImage([Keep] RenderImage*); | 230 void willPaintImage([Keep] RenderImage*); |
225 | 231 |
226 [Timeline, Inline=FastReturn] | 232 [Timeline, Inline=FastReturn] |
227 void didPaintImage(RenderImage*); | 233 void didPaintImage(RenderImage*); |
228 | 234 |
229 [Resource, Timeline, Inline=FastReturn] | 235 [Resource, Timeline, Inline=FastReturn] |
230 InspectorInstrumentationCookie willRecalculateStyle([Keep] Document*); | 236 InspectorInstrumentationCookie willRecalculateStyle([Keep] Document*); |
231 | 237 |
232 [Timeline, Resource, Page, Inline=FastReturn] | 238 [Timeline, Resource, Page, Inline=FastReturn] |
233 void didRecalculateStyle(const InspectorInstrumentationCookie&); | 239 void didRecalculateStyle(const InspectorInstrumentationCookie&); |
234 | 240 |
235 [Timeline, Inline=FastReturn] | 241 [Timeline, Inline=FastReturn] |
236 void didRecalculateStyleForElement(Element*); | 242 void didRecalculateStyleForElement(Element*); |
237 | 243 |
238 [Timeline, Resource, Inline=FastReturn] | 244 [Timeline, Resource, Inline=FastReturn] |
239 void didScheduleStyleRecalculation([Keep] Document*); | 245 void didScheduleStyleRecalculation([Keep] Document*); |
240 | 246 |
241 [Resource, Inline=FastReturn] | 247 [Resource, Inline=FastReturn] |
242 void applyUserAgentOverride(Frame*, String* userAgent); | 248 void applyUserAgentOverride(Frame*, String* userAgent); |
243 | 249 |
244 [Page, Inline=FastReturn] | 250 [Page, Inline=FastReturn] |
245 void applyScreenWidthOverride(Frame*, long* width); | |
246 | |
247 [Page, Inline=FastReturn] | |
248 void applyScreenHeightOverride(Frame*, long* height); | |
249 | |
250 [Page, Inline=FastReturn] | |
251 void applyEmulatedMedia(Frame*, String* media); | 251 void applyEmulatedMedia(Frame*, String* media); |
252 | 252 |
253 [Timeline, Resource] | 253 [Timeline, Resource] |
254 void willSendRequest(Frame*, unsigned long identifier, DocumentLoader*, Reso
urceRequest&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo
&); | 254 void willSendRequest(Frame*, unsigned long identifier, DocumentLoader*, Reso
urceRequest&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo
&); |
255 | 255 |
256 void continueAfterPingLoader(Frame*, unsigned long identifier, DocumentLoade
r*, ResourceRequest&, const ResourceResponse&); | 256 void continueAfterPingLoader(Frame*, unsigned long identifier, DocumentLoade
r*, ResourceRequest&, const ResourceResponse&); |
257 | 257 |
258 [Resource] | 258 [Resource] |
259 void markResourceAsCached(Page*, unsigned long identifier); | 259 void markResourceAsCached(Page*, unsigned long identifier); |
260 | 260 |
(...skipping 24 matching lines...) Expand all Loading... |
285 [Timeline, Resource] | 285 [Timeline, Resource] |
286 void didFinishLoading(Frame* frame, unsigned long identifier, DocumentLoader
*, double finishTime); | 286 void didFinishLoading(Frame* frame, unsigned long identifier, DocumentLoader
*, double finishTime); |
287 | 287 |
288 [Resource] | 288 [Resource] |
289 void didReceiveCORSRedirectResponse(Frame*, unsigned long identifier, Docume
ntLoader*, const ResourceResponse&, ResourceLoader*); | 289 void didReceiveCORSRedirectResponse(Frame*, unsigned long identifier, Docume
ntLoader*, const ResourceResponse&, ResourceLoader*); |
290 | 290 |
291 [Timeline, Resource, Console] // Console should come AFTER Resource notifica
tion, front-end relies on this. | 291 [Timeline, Resource, Console] // Console should come AFTER Resource notifica
tion, front-end relies on this. |
292 void didFailLoading(Frame* frame, unsigned long identifier, DocumentLoader*,
const ResourceError&); | 292 void didFailLoading(Frame* frame, unsigned long identifier, DocumentLoader*,
const ResourceError&); |
293 | 293 |
294 [Resource] | 294 [Resource] |
295 void documentThreadableLoaderStartedLoadingForClient(ScriptExecutionContext*
, unsigned long identifier, ThreadableLoaderClient* client); | 295 void documentThreadableLoaderStartedLoadingForClient(ExecutionContext*, unsi
gned long identifier, ThreadableLoaderClient* client); |
296 | 296 |
297 [Resource] | 297 [Resource] |
298 void willLoadXHR(ScriptExecutionContext*, ThreadableLoaderClient* client, co
nst String& method, const KURL& url, bool async, PassRefPtr<FormData>, const HTT
PHeaderMap& headers, bool includeCredentials); | 298 void willLoadXHR(ExecutionContext*, ThreadableLoaderClient* client, const St
ring& method, const KURL& url, bool async, PassRefPtr<FormData>, const HTTPHeade
rMap& headers, bool includeCredentials); |
299 | 299 |
300 [Resource] | 300 [Resource] |
301 void didFailXHRLoading(ScriptExecutionContext*, ThreadableLoaderClient* clie
nt); | 301 void didFailXHRLoading(ExecutionContext*, ThreadableLoaderClient* client); |
302 | 302 |
303 [Console, Resource] | 303 [Console, Resource] |
304 void didFinishXHRLoading(ScriptExecutionContext*, ThreadableLoaderClient* cl
ient, unsigned long identifier, ScriptString sourceString, const String& url, co
nst String& sendURL, unsigned sendLineNumber); | 304 void didFinishXHRLoading(ExecutionContext*, ThreadableLoaderClient* client,
unsigned long identifier, ScriptString sourceString, const String& url, const St
ring& sendURL, unsigned sendLineNumber); |
305 | 305 |
306 [Resource] | 306 [Resource] |
307 void didReceiveXHRResponse(ScriptExecutionContext*, unsigned long identifier
); | 307 void didReceiveXHRResponse(ExecutionContext*, unsigned long identifier); |
308 | 308 |
309 [Resource] | 309 [Resource] |
310 void scriptImported(ScriptExecutionContext*, unsigned long identifier, const
String& sourceString); | 310 void scriptImported(ExecutionContext*, unsigned long identifier, const Strin
g& sourceString); |
311 | 311 |
312 [Debugger] | 312 [Debugger] |
313 void scriptExecutionBlockedByCSP(ScriptExecutionContext*, const String& dire
ctiveText); | 313 void scriptExecutionBlockedByCSP(ExecutionContext*, const String& directiveT
ext); |
314 | 314 |
315 [Resource] | 315 [Resource] |
316 void didReceiveScriptResponse(ScriptExecutionContext*, unsigned long identif
ier); | 316 void didReceiveScriptResponse(ExecutionContext*, unsigned long identifier); |
317 | 317 |
318 [Timeline, Inspector, DOM, Page] | 318 [Timeline, Inspector, DOM, Page] |
319 void domContentLoadedEventFired([Keep] Frame*); | 319 void domContentLoadedEventFired([Keep] Frame*); |
320 | 320 |
321 [DOM, Timeline, Page] | 321 [Timeline, Page] |
322 void loadEventFired([Keep] Frame*); | 322 void loadEventFired([Keep] Frame*); |
323 | 323 |
324 [Page] | 324 [Page] |
325 void frameAttachedToParent([Keep] Frame*); | 325 void frameAttachedToParent([Keep] Frame*); |
326 | 326 |
327 [Canvas, Page, CSS] | 327 [Canvas, Page, CSS] |
328 void frameDetachedFromParent([Keep] Frame*); | 328 void frameDetachedFromParent([Keep] Frame*); |
329 | 329 |
330 [Page, Inline=FastReturn] | 330 [Page, Inline=FastReturn] |
331 void childDocumentOpened([Keep] Document*); | 331 void childDocumentOpened([Keep] Document*); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 [DOMDebugger, Timeline] | 375 [DOMDebugger, Timeline] |
376 InspectorInstrumentationCookie willFireAnimationFrame([Keep] Document*, int
callbackId); | 376 InspectorInstrumentationCookie willFireAnimationFrame([Keep] Document*, int
callbackId); |
377 | 377 |
378 [Timeline, Inline=FastReturn] | 378 [Timeline, Inline=FastReturn] |
379 void didFireAnimationFrame(const InspectorInstrumentationCookie&); | 379 void didFireAnimationFrame(const InspectorInstrumentationCookie&); |
380 | 380 |
381 [DOMStorage, Inline=FastReturn] | 381 [DOMStorage, Inline=FastReturn] |
382 void didDispatchDOMStorageEvent(Page* page, const String& key, const String&
oldValue, const String& newValue, StorageType storageType, SecurityOrigin* secu
rityOrigin); | 382 void didDispatchDOMStorageEvent(Page* page, const String& key, const String&
oldValue, const String& newValue, StorageType storageType, SecurityOrigin* secu
rityOrigin); |
383 | 383 |
384 [Worker] | 384 [Worker] |
385 void didStartWorkerGlobalScope(ScriptExecutionContext*, WorkerGlobalScopePro
xy* proxy, const KURL& url); | 385 void didStartWorkerGlobalScope(ExecutionContext*, WorkerGlobalScopeProxy* pr
oxy, const KURL& url); |
386 | 386 |
387 [WorkerRuntime] | 387 [WorkerRuntime] |
388 void willEvaluateWorkerScript([Keep] WorkerGlobalScope* context, int workerT
hreadStartMode); | 388 void willEvaluateWorkerScript([Keep] WorkerGlobalScope* context, int workerT
hreadStartMode); |
389 | 389 |
390 [Worker] | 390 [Worker] |
391 void workerGlobalScopeTerminated(ScriptExecutionContext*, WorkerGlobalScopeP
roxy* proxy); | 391 void workerGlobalScopeTerminated(ExecutionContext*, WorkerGlobalScopeProxy*
proxy); |
392 | 392 |
393 [Profiler, Timeline] | 393 [Profiler, Timeline] |
394 void willProcessTask(WorkerGlobalScope* context); | 394 void willProcessTask(WorkerGlobalScope* context); |
395 | 395 |
396 [Profiler, Timeline] | 396 [Profiler, Timeline] |
397 void didProcessTask(WorkerGlobalScope* context); | 397 void didProcessTask(WorkerGlobalScope* context); |
398 | 398 |
399 [Profiler] | 399 [Profiler] |
400 void willEnterNestedRunLoop(WorkerGlobalScope* context); | 400 void willEnterNestedRunLoop(WorkerGlobalScope* context); |
401 | 401 |
(...skipping 15 matching lines...) Expand all Loading... |
417 [Resource] | 417 [Resource] |
418 void didReceiveWebSocketFrame(Document*, unsigned long identifier, const Web
SocketFrame& frame); | 418 void didReceiveWebSocketFrame(Document*, unsigned long identifier, const Web
SocketFrame& frame); |
419 | 419 |
420 [Resource] | 420 [Resource] |
421 void didSendWebSocketFrame(Document*, unsigned long identifier, const WebSoc
ketFrame& frame); | 421 void didSendWebSocketFrame(Document*, unsigned long identifier, const WebSoc
ketFrame& frame); |
422 | 422 |
423 [Resource] | 423 [Resource] |
424 void didReceiveWebSocketFrameError(Document*, unsigned long identifier, cons
t String& errorMessage); | 424 void didReceiveWebSocketFrameError(Document*, unsigned long identifier, cons
t String& errorMessage); |
425 | 425 |
426 [ApplicationCache, Inline=FastReturn] | 426 [ApplicationCache, Inline=FastReturn] |
427 void networkStateChanged(Page*); | 427 void networkStateChanged(Page*, bool online); |
428 | 428 |
429 [ApplicationCache, Inline=FastReturn] | 429 [ApplicationCache, Inline=FastReturn] |
430 void updateApplicationCacheStatus([Keep] Frame*); | 430 void updateApplicationCacheStatus([Keep] Frame*); |
431 | 431 |
432 [LayerTree] | 432 [LayerTree] |
433 void layerTreeDidChange(Page*); | 433 void layerTreeDidChange(Page*); |
434 | 434 |
435 [DOM, Inline=FastReturn] | 435 [DOM, Inline=FastReturn] |
436 void pseudoElementCreated([Keep] PseudoElement*); | 436 void pseudoElementCreated([Keep] PseudoElement*); |
437 | 437 |
438 [DOM, Inline=FastReturn] | 438 [DOM, Inline=FastReturn] |
439 void pseudoElementDestroyed([Keep] PseudoElement*); | 439 void pseudoElementDestroyed([Keep] PseudoElement*); |
440 } | 440 } |
441 | 441 |
442 interface InspectorConsoleInstrumentation { | 442 interface InspectorConsoleInstrumentation { |
443 | 443 |
444 #include "core/inspector/ScriptArguments.h" | 444 #include "core/inspector/ScriptArguments.h" |
445 #include "core/inspector/ScriptCallStack.h" | 445 #include "core/inspector/ScriptCallStack.h" |
446 #include "core/inspector/ScriptProfile.h" | 446 #include "core/inspector/ScriptProfile.h" |
447 | 447 |
448 // FIXME: Convert to ScriptArguments to match non-worker context. | 448 // FIXME: Convert to ScriptArguments to match non-worker context. |
449 // Use the same implementation as above as a similar method dispatched on Pa
ge. | 449 // Use the same implementation as above as a similar method dispatched on Pa
ge. |
450 [Console] | 450 [Console] |
451 void addMessageToConsole(ScriptExecutionContext* context, MessageSource sour
ce, MessageType type, MessageLevel level, const String& message, PassRefPtr<Scri
ptCallStack> callStack, unsigned long requestIdentifier = 0); | 451 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me
ssageType type, MessageLevel level, const String& message, PassRefPtr<ScriptCall
Stack> callStack, unsigned long requestIdentifier = 0); |
452 | 452 |
453 // Use the same implementation as above as a similar method dispatched on Pa
ge. | 453 // Use the same implementation as above as a similar method dispatched on Pa
ge. |
454 [Console] | 454 [Console] |
455 void addMessageToConsole(ScriptExecutionContext* context, MessageSource sour
ce, MessageType type, MessageLevel level, const String& message, const String& s
criptId, unsigned lineNumber, unsigned columnNumber, ScriptState* state, unsigne
d long requestIdentifier = 0); | 455 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me
ssageType type, MessageLevel level, const String& message, const String& scriptI
d, unsigned lineNumber, unsigned columnNumber, ScriptState* state, unsigned long
requestIdentifier = 0); |
456 | 456 |
457 [Console, Debugger] | 457 [Console, Debugger] |
458 void addMessageToConsole(ScriptExecutionContext* context, MessageSource sour
ce, MessageType type, MessageLevel level, const String& message, ScriptState* st
ate, PassRefPtr<ScriptArguments> arguments, unsigned long requestIdentifier = 0)
; | 458 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me
ssageType type, MessageLevel level, const String& message, ScriptState* state, P
assRefPtr<ScriptArguments> arguments, unsigned long requestIdentifier = 0); |
459 | 459 |
460 [Console] | 460 [Console] |
461 void consoleCount(ScriptExecutionContext* context, ScriptState* state, PassR
efPtr<ScriptArguments> arguments); | 461 void consoleCount(ExecutionContext* context, ScriptState* state, PassRefPtr<
ScriptArguments> arguments); |
462 | 462 |
463 [Timeline, Console] | 463 [Timeline, Console] |
464 void consoleTime([Keep] ScriptExecutionContext* context, const String& title
); | 464 void consoleTime([Keep] ExecutionContext* context, const String& title); |
465 | 465 |
466 [Console, Timeline] | 466 [Console, Timeline] |
467 void consoleTimeEnd([Keep] ScriptExecutionContext* context, const String& ti
tle, ScriptState* state); | 467 void consoleTimeEnd([Keep] ExecutionContext* context, const String& title, S
criptState* state); |
468 | 468 |
469 [Timeline, Inline=FastReturn] | 469 [Timeline, Inline=FastReturn] |
470 void consoleTimeStamp([Keep] ScriptExecutionContext* context, const String&
title); | 470 void consoleTimeStamp([Keep] ExecutionContext* context, const String& title)
; |
471 | 471 |
472 [Console, Inline=FastReturn] | 472 [Console, Inline=FastReturn] |
473 void consoleTimeline([Keep] ScriptExecutionContext* context, const String& t
itle, ScriptState* state); | 473 void consoleTimeline([Keep] ExecutionContext* context, const String& title,
ScriptState* state); |
474 | 474 |
475 [Console, Inline=FastReturn] | 475 [Console, Inline=FastReturn] |
476 void consoleTimelineEnd([Keep] ScriptExecutionContext* context, const String
& title, ScriptState* state); | 476 void consoleTimelineEnd([Keep] ExecutionContext* context, const String& titl
e, ScriptState* state); |
477 | 477 |
478 [Profiler] | 478 [Profiler] |
479 void addProfile(ScriptExecutionContext* context, PassRefPtr<ScriptProfile> p
rofile, PassRefPtr<ScriptCallStack> callStack); | 479 void addProfile(ExecutionContext* context, PassRefPtr<ScriptProfile> profile
, PassRefPtr<ScriptCallStack> callStack); |
480 } | 480 } |
481 | 481 |
482 interface InspectorDatabaseInstrumentation { | 482 interface InspectorDatabaseInstrumentation { |
483 | 483 |
484 #include "modules/webdatabase/Database.h" | 484 #include "modules/webdatabase/Database.h" |
485 | 485 |
486 [Database] | 486 [Database] |
487 void didOpenDatabase(ScriptExecutionContext* context, PassRefPtr<Database> d
atabase, const String& domain, const String& name, const String& version); | 487 void didOpenDatabase(ExecutionContext* context, PassRefPtr<Database> databas
e, const String& domain, const String& name, const String& version); |
488 } | 488 } |
489 | 489 |
490 interface InspectorOverrides { | 490 interface InspectorOverrides { |
491 [CSS, Inline=FastReturn] | 491 [CSS, Inline=FastReturn] |
492 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud
oState); | 492 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud
oState); |
493 | 493 |
494 [Page, Inline=FastReturn] | |
495 bool shouldApplyScreenWidthOverride(Frame* frame); | |
496 | |
497 [Page, Inline=FastReturn] | |
498 bool shouldApplyScreenHeightOverride(Frame* frame); | |
499 | |
500 [Worker, Inline=FastReturn] | 494 [Worker, Inline=FastReturn] |
501 bool shouldPauseDedicatedWorkerOnStart(ScriptExecutionContext* context); | 495 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context); |
502 | 496 |
503 [Page, Inline=FastReturn] | 497 [Page, Inline=FastReturn] |
504 GeolocationPosition* overrideGeolocationPosition(Page* page, [DefaultReturn]
GeolocationPosition* position); | 498 GeolocationPosition* overrideGeolocationPosition(Page* page, [DefaultReturn]
GeolocationPosition* position); |
505 | 499 |
506 [Page, Inline=FastReturn] | 500 [Page, Inline=FastReturn] |
507 DeviceOrientationData* overrideDeviceOrientation(Page* page, [DefaultReturn]
DeviceOrientationData* deviceOrientation); | 501 float overrideTextAutosizingFontScaleFactor(Page* page, [DefaultReturn] floa
t fontScaleFactor); |
| 502 |
| 503 [Page, Inline=FastReturn] |
| 504 bool overrideTextAutosizing(Page* page, [DefaultReturn] bool textAutosizing)
; |
508 | 505 |
509 [Profiler] | 506 [Profiler] |
510 String getCurrentUserInitiatedProfileName(ScriptExecutionContext* context, b
ool incrementProfileNumber); | 507 String getCurrentUserInitiatedProfileName(ExecutionContext* context, bool in
crementProfileNumber); |
511 } | 508 } |
512 | 509 |
513 | 510 |
514 interface InspectorCanvasInstrumentation { | 511 interface InspectorCanvasInstrumentation { |
515 | 512 |
516 #include "bindings/v8/ScriptObject.h" | 513 #include "bindings/v8/ScriptObject.h" |
517 | 514 |
518 [Canvas] | 515 [Canvas] |
519 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const
ScriptObject&); | 516 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const
ScriptObject&); |
520 | 517 |
521 [Canvas] | 518 [Canvas] |
522 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc
riptObject&); | 519 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc
riptObject&); |
523 } | 520 } |
OLD | NEW |