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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 84 |
85 [DOM, Inline=FastReturn] | 85 [DOM, Inline=FastReturn] |
86 void didRemoveDOMAttr([Keep] 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([Keep] CharacterData*); | 89 void characterDataModified([Keep] CharacterData*); |
90 | 90 |
91 [DOM, DOMDebugger, Inline=FastReturn] | 91 [DOM, DOMDebugger, Inline=FastReturn] |
92 void didInvalidateStyleAttr([Keep] Node*); | 92 void didInvalidateStyleAttr([Keep] Node*); |
93 | 93 |
| 94 [DOM, Inline=FastReturn] |
| 95 void pseudoStateChanged([Keep] Node*); |
| 96 |
| 97 [CSS, Inline=FastReturn] |
| 98 void willMutateRules(CSSStyleSheet*); |
| 99 |
| 100 [CSS, Inline=FastReturn] |
| 101 void didMutateRules([Keep] CSSStyleSheet*); |
| 102 |
| 103 [CSS, Inline=FastReturn] |
| 104 void willMutateStyle(CSSStyleDeclaration*); |
| 105 |
| 106 [CSS, Inline=FastReturn] |
| 107 void didMutateStyle([Keep] CSSStyleDeclaration*, bool); |
| 108 |
94 [CSS, Inline=FastReturn] | 109 [CSS, Inline=FastReturn] |
95 void activeStyleSheetsUpdated([Keep] Document*, const Vector<RefPtr<StyleShe
et> >& newSheets); | 110 void activeStyleSheetsUpdated([Keep] Document*, const Vector<RefPtr<StyleShe
et> >& newSheets); |
96 | 111 |
97 [Console] | 112 [Console] |
98 void frameWindowDiscarded(Frame*, DOMWindow* domWindow); | 113 void frameWindowDiscarded(Frame*, DOMWindow* domWindow); |
99 | 114 |
100 [CSS, Inline=FastReturn] | 115 [CSS, Inline=FastReturn] |
101 void mediaQueryResultChanged(Document*); | 116 void mediaQueryResultChanged(Document*); |
102 | 117 |
103 [DOM, Inline=FastReturn] | 118 [DOM, Inline=FastReturn] |
(...skipping 22 matching lines...) Expand all Loading... |
126 | 141 |
127 [DOMDebugger, Inline=FastReturn] | 142 [DOMDebugger, Inline=FastReturn] |
128 void didFireWebGLWarning(Element*); | 143 void didFireWebGLWarning(Element*); |
129 | 144 |
130 [DOMDebugger, Inline=FastReturn] | 145 [DOMDebugger, Inline=FastReturn] |
131 void didFireWebGLErrorOrWarning(Element*, const String& message); | 146 void didFireWebGLErrorOrWarning(Element*, const String& message); |
132 | 147 |
133 [Timeline, Inline=FastReturn] | 148 [Timeline, Inline=FastReturn] |
134 void didScheduleResourceRequest([Keep] Document*, const String& url); | 149 void didScheduleResourceRequest([Keep] Document*, const String& url); |
135 | 150 |
136 [DOMDebugger, Timeline, Inline=FastReturn] | 151 [DOMDebugger, Debugger, Timeline, Inline=FastReturn] |
137 void didInstallTimer([Keep] ExecutionContext*, int timerId, int timeout, boo
l singleShot); | 152 void didInstallTimer([Keep] ExecutionContext*, int timerId, int timeout, boo
l singleShot); |
138 | 153 |
139 [DOMDebugger, Timeline, Inline=FastReturn] | 154 [DOMDebugger, Debugger, Timeline, Inline=FastReturn] |
140 void didRemoveTimer([Keep] ExecutionContext*, int timerId); | 155 void didRemoveTimer([Keep] ExecutionContext*, int timerId); |
141 | 156 |
142 [Timeline, Inline=FastReturn] | 157 [Timeline, Inline=FastReturn] |
143 InspectorInstrumentationCookie willCallFunction([Keep] ExecutionContext*, co
nst String& scriptName, int scriptLine); | 158 InspectorInstrumentationCookie willCallFunction([Keep] ExecutionContext*, co
nst String& scriptName, int scriptLine); |
144 | 159 |
145 [Timeline, Inline=FastReturn] | 160 [Timeline, Inline=FastReturn] |
146 void didCallFunction(const InspectorInstrumentationCookie&); | 161 void didCallFunction(const InspectorInstrumentationCookie&); |
147 | 162 |
148 [Timeline, Inline=FastReturn] | 163 [Timeline, Inline=FastReturn] |
149 InspectorInstrumentationCookie willDispatchXHRReadyStateChangeEvent([Keep] E
xecutionContext*, XMLHttpRequest*); | 164 InspectorInstrumentationCookie willDispatchXHRReadyStateChangeEvent([Keep] E
xecutionContext*, XMLHttpRequest*); |
(...skipping 24 matching lines...) Expand all Loading... |
174 | 189 |
175 [Timeline, Inline=FastReturn] | 190 [Timeline, Inline=FastReturn] |
176 void didEvaluateScript(const InspectorInstrumentationCookie&); | 191 void didEvaluateScript(const InspectorInstrumentationCookie&); |
177 | 192 |
178 [Page, Inline=FastReturn] | 193 [Page, Inline=FastReturn] |
179 void scriptsEnabled(Page*, bool isEnabled); | 194 void scriptsEnabled(Page*, bool isEnabled); |
180 | 195 |
181 [PageRuntime, Inline=FastReturn] | 196 [PageRuntime, Inline=FastReturn] |
182 void didCreateIsolatedContext([Keep] Frame*, ScriptState*, SecurityOrigin*); | 197 void didCreateIsolatedContext([Keep] Frame*, ScriptState*, SecurityOrigin*); |
183 | 198 |
184 [DOMDebugger, Timeline, Inline=FastReturn] | 199 [DOMDebugger, Debugger, Timeline, Inline=FastReturn] |
185 InspectorInstrumentationCookie willFireTimer([Keep] ExecutionContext*, int t
imerId); | 200 InspectorInstrumentationCookie willFireTimer([Keep] ExecutionContext*, int t
imerId); |
186 | 201 |
187 [Debugger, Timeline, Inline=FastReturn] | 202 [Debugger, Timeline, Inline=FastReturn] |
188 void didFireTimer(const InspectorInstrumentationCookie&); | 203 void didFireTimer(const InspectorInstrumentationCookie&); |
189 | 204 |
190 [Timeline, Inline=FastReturn] | 205 [Timeline, Inline=FastReturn] |
191 void didInvalidateLayout([Keep] Frame*); | 206 void didInvalidateLayout([Keep] Frame*); |
192 | 207 |
193 [Timeline, Inline=FastReturn] | 208 [Timeline, Inline=FastReturn] |
194 InspectorInstrumentationCookie willLayout([Keep] Frame*); | 209 InspectorInstrumentationCookie willLayout([Keep] Frame*); |
(...skipping 19 matching lines...) Expand all Loading... |
214 [Timeline, Inline=FastReturn] | 229 [Timeline, Inline=FastReturn] |
215 void didDispatchXHRLoadEvent(const InspectorInstrumentationCookie&); | 230 void didDispatchXHRLoadEvent(const InspectorInstrumentationCookie&); |
216 | 231 |
217 [Timeline, Inline=FastReturn] | 232 [Timeline, Inline=FastReturn] |
218 void willScrollLayer([Keep] RenderObject*); | 233 void willScrollLayer([Keep] RenderObject*); |
219 | 234 |
220 [Timeline, Inline=FastReturn] | 235 [Timeline, Inline=FastReturn] |
221 void didScrollLayer(RenderObject*); | 236 void didScrollLayer(RenderObject*); |
222 | 237 |
223 [Timeline, Inline=FastReturn] | 238 [Timeline, Inline=FastReturn] |
224 void willPaint([Keep] RenderObject*); | 239 void willPaint([Keep] RenderObject*, const GraphicsLayer*); |
225 | 240 |
226 [Timeline, Page, LayerTree, Inline=FastReturn] | 241 [Timeline, Page, LayerTree, Inline=FastReturn] |
227 void didPaint([Keep] RenderObject*, GraphicsContext*, const LayoutRect&); | 242 void didPaint([Keep] RenderObject*, const GraphicsLayer*, GraphicsContext*,
const LayoutRect&); |
228 | 243 |
229 [Timeline, Inline=FastReturn] | 244 [Timeline, Inline=FastReturn] |
230 void willPaintImage([Keep] RenderImage*); | 245 void willPaintImage([Keep] RenderImage*); |
231 | 246 |
232 [Timeline, Inline=FastReturn] | 247 [Timeline, Inline=FastReturn] |
233 void didPaintImage(RenderImage*); | 248 void didPaintImage(RenderImage*); |
234 | 249 |
235 [Resource, Timeline, Inline=FastReturn] | 250 [Resource, Timeline, Inline=FastReturn] |
236 InspectorInstrumentationCookie willRecalculateStyle([Keep] Document*); | 251 InspectorInstrumentationCookie willRecalculateStyle([Keep] Document*); |
237 | 252 |
238 [Timeline, Resource, Page, Inline=FastReturn] | 253 [Timeline, Resource, Page, Inline=FastReturn] |
239 void didRecalculateStyle(const InspectorInstrumentationCookie&); | 254 void didRecalculateStyle(const InspectorInstrumentationCookie&); |
240 | 255 |
241 [Timeline, Inline=FastReturn] | 256 [Timeline, Inline=FastReturn] |
242 void didRecalculateStyleForElement(Element*); | 257 void didRecalculateStyleForElement(Element*); |
243 | 258 |
244 [Timeline, Resource, Inline=FastReturn] | 259 [Timeline, Resource, Inline=FastReturn] |
245 void didScheduleStyleRecalculation([Keep] Document*); | 260 void didScheduleStyleRecalculation([Keep] Document*); |
246 | 261 |
247 [Resource, Inline=FastReturn] | 262 [Resource, Inline=FastReturn] |
248 void applyUserAgentOverride(Frame*, String* userAgent); | 263 void applyUserAgentOverride(Frame*, String* userAgent); |
249 | 264 |
250 [Page, Inline=FastReturn] | 265 [Page, Inline=FastReturn] |
| 266 bool applyViewportStyleOverride(Document*, StyleResolver*); |
| 267 |
| 268 [Page, Inline=FastReturn] |
251 void applyEmulatedMedia(Frame*, String* media); | 269 void applyEmulatedMedia(Frame*, String* media); |
252 | 270 |
253 [Timeline, Resource] | 271 [Timeline, Resource] |
254 void willSendRequest(Frame*, unsigned long identifier, DocumentLoader*, Reso
urceRequest&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo
&); | 272 void willSendRequest(Frame*, unsigned long identifier, DocumentLoader*, Reso
urceRequest&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo
&); |
255 | 273 |
256 void continueAfterPingLoader(Frame*, unsigned long identifier, DocumentLoade
r*, ResourceRequest&, const ResourceResponse&); | 274 void continueAfterPingLoader(Frame*, unsigned long identifier, DocumentLoade
r*, ResourceRequest&, const ResourceResponse&); |
257 | 275 |
258 [Resource] | 276 [Resource] |
259 void markResourceAsCached(Page*, unsigned long identifier); | 277 void markResourceAsCached(Page*, unsigned long identifier); |
260 | 278 |
261 [Timeline, Inline=FastReturn] | 279 [Timeline, Inline=FastReturn] |
262 InspectorInstrumentationCookie willReceiveResourceData([Keep] Frame*, unsign
ed long identifier, int length); | 280 InspectorInstrumentationCookie willReceiveResourceData([Keep] Frame*, unsign
ed long identifier, int length); |
263 | 281 |
264 [Timeline, Inline=FastReturn] | 282 [Timeline, Inline=FastReturn] |
265 void didReceiveResourceData(const InspectorInstrumentationCookie&); | 283 void didReceiveResourceData(const InspectorInstrumentationCookie&); |
266 | 284 |
267 [Timeline] | |
268 InspectorInstrumentationCookie willReceiveResourceResponse([Keep] Frame*, un
signed long identifier, const ResourceResponse&); | |
269 | |
270 [Timeline, Resource, Console] // Console should come AFTER Resource notifica
tion, front-end relies on this. | 285 [Timeline, Resource, Console] // Console should come AFTER Resource notifica
tion, front-end relies on this. |
271 void didReceiveResourceResponse(const InspectorInstrumentationCookie&, unsig
ned long identifier, DocumentLoader*, const ResourceResponse&, ResourceLoader*); | 286 void didReceiveResourceResponse([Keep] Frame*, unsigned long identifier, Doc
umentLoader*, const ResourceResponse&, ResourceLoader*); |
272 | 287 |
273 [Inline=Forward] | 288 [Inline=Forward] |
274 void continueAfterXFrameOptionsDenied(Frame* frame, DocumentLoader* loader,
unsigned long identifier, const ResourceResponse& r); | 289 void continueAfterXFrameOptionsDenied(Frame* frame, DocumentLoader* loader,
unsigned long identifier, const ResourceResponse& r); |
275 | 290 |
276 [Inline=Forward] | 291 [Inline=Forward] |
277 void continueWithPolicyDownload(Frame* frame, DocumentLoader* loader, unsign
ed long identifier, const ResourceResponse& r); | 292 void continueWithPolicyDownload(Frame* frame, DocumentLoader* loader, unsign
ed long identifier, const ResourceResponse& r); |
278 | 293 |
279 [Inline=Forward] | 294 [Inline=Forward] |
280 void continueWithPolicyIgnore(Frame* frame, DocumentLoader* loader, unsigned
long identifier, const ResourceResponse& r); | 295 void continueWithPolicyIgnore(Frame* frame, DocumentLoader* loader, unsigned
long identifier, const ResourceResponse& r); |
281 | 296 |
282 [Resource] | 297 [Resource] |
283 void didReceiveData(Frame*, unsigned long identifier, const char* data, int
dataLength, int encodedDataLength); | 298 void didReceiveData(Frame*, unsigned long identifier, const char* data, int
dataLength, int encodedDataLength); |
284 | 299 |
285 [Timeline, Resource] | 300 [Timeline, Resource] |
286 void didFinishLoading(Frame* frame, unsigned long identifier, DocumentLoader
*, double finishTime); | 301 void didFinishLoading(Frame* frame, unsigned long identifier, DocumentLoader
*, double finishTime); |
287 | 302 |
288 [Resource] | 303 [Resource] |
289 void didReceiveCORSRedirectResponse(Frame*, unsigned long identifier, Docume
ntLoader*, const ResourceResponse&, ResourceLoader*); | 304 void didReceiveCORSRedirectResponse([Keep] Frame*, unsigned long identifier,
DocumentLoader*, const ResourceResponse&, ResourceLoader*); |
290 | 305 |
291 [Timeline, Resource, Console] // Console should come AFTER Resource notifica
tion, front-end relies on this. | 306 [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&); | 307 void didFailLoading(Frame* frame, unsigned long identifier, DocumentLoader*,
const ResourceError&); |
293 | 308 |
294 [Resource] | 309 [Resource] |
295 void documentThreadableLoaderStartedLoadingForClient(ExecutionContext*, unsi
gned long identifier, ThreadableLoaderClient* client); | 310 void documentThreadableLoaderStartedLoadingForClient(ExecutionContext*, unsi
gned long identifier, ThreadableLoaderClient* client); |
296 | 311 |
297 [Resource] | 312 [Resource] |
298 void willLoadXHR(ExecutionContext*, ThreadableLoaderClient* client, const St
ring& method, const KURL& url, bool async, PassRefPtr<FormData>, const HTTPHeade
rMap& headers, bool includeCredentials); | 313 void willLoadXHR(ExecutionContext*, XMLHttpRequest* xhr, ThreadableLoaderCli
ent* client, const AtomicString& method, const KURL& url, bool async, PassRefPtr
<FormData>, const HTTPHeaderMap& headers, bool includeCredentials); |
299 | 314 |
300 [Resource] | 315 [Resource] |
301 void didFailXHRLoading(ExecutionContext*, ThreadableLoaderClient* client); | 316 void didFailXHRLoading(ExecutionContext*, XMLHttpRequest* xhr, ThreadableLoa
derClient* client); |
302 | 317 |
303 [Console, Resource] | 318 [Console, Resource] |
304 void didFinishXHRLoading(ExecutionContext*, ThreadableLoaderClient* client,
unsigned long identifier, ScriptString sourceString, const String& url, const St
ring& sendURL, unsigned sendLineNumber); | 319 void didFinishXHRLoading(ExecutionContext*, XMLHttpRequest* xhr, ThreadableL
oaderClient* client, unsigned long identifier, ScriptString sourceString, const
String& url, const String& sendURL, unsigned sendLineNumber); |
305 | |
306 [Resource] | |
307 void didReceiveXHRResponse(ExecutionContext*, unsigned long identifier); | |
308 | 320 |
309 [Resource] | 321 [Resource] |
310 void scriptImported(ExecutionContext*, unsigned long identifier, const Strin
g& sourceString); | 322 void scriptImported(ExecutionContext*, unsigned long identifier, const Strin
g& sourceString); |
311 | 323 |
312 [Debugger] | 324 [Debugger] |
313 void scriptExecutionBlockedByCSP(ExecutionContext*, const String& directiveT
ext); | 325 void scriptExecutionBlockedByCSP(ExecutionContext*, const String& directiveT
ext); |
314 | 326 |
315 [Resource] | 327 [Resource] |
316 void didReceiveScriptResponse(ExecutionContext*, unsigned long identifier); | 328 void didReceiveScriptResponse(ExecutionContext*, unsigned long identifier); |
317 | 329 |
318 [Timeline, Inspector, DOM, Page] | 330 [Timeline, Inspector, DOM, Page] |
319 void domContentLoadedEventFired([Keep] Frame*); | 331 void domContentLoadedEventFired([Keep] Frame*); |
320 | 332 |
321 [Timeline, Page] | 333 [Timeline, Page] |
322 void loadEventFired([Keep] Frame*); | 334 void loadEventFired([Keep] Frame*); |
323 | 335 |
324 [Page] | 336 [Page] |
325 void frameAttachedToParent([Keep] Frame*); | 337 void frameAttachedToParent([Keep] Frame*); |
326 | 338 |
327 [Canvas, Page, CSS] | 339 [Canvas, Page, CSS] |
328 void frameDetachedFromParent([Keep] Frame*); | 340 void frameDetachedFromParent([Keep] Frame*); |
329 | 341 |
330 [Page, Inline=FastReturn] | |
331 void childDocumentOpened([Keep] Document*); | |
332 | |
333 [Console, Resource, CSS, Database, DOM, Inspector, Canvas, Page, PageDebugge
r] | 342 [Console, Resource, CSS, Database, DOM, Inspector, Canvas, Page, PageDebugge
r] |
334 void didCommitLoad([Keep] Frame*, DocumentLoader*); | 343 void didCommitLoad([Keep] Frame*, DocumentLoader*); |
335 | 344 |
336 [DOM, Inline=FastReturn] | 345 [DOM, Inline=FastReturn] |
337 void frameDocumentUpdated([Keep] Frame*); | 346 void frameDocumentUpdated([Keep] Frame*); |
338 | 347 |
339 [Page] | 348 [Page] |
340 void loaderDetachedFromFrame(Frame*, DocumentLoader*); | 349 void loaderDetachedFromFrame(Frame*, DocumentLoader*); |
341 | 350 |
342 [Page] | 351 [Page] |
(...skipping 16 matching lines...) Expand all Loading... |
359 | 368 |
360 [Inline=Forward] | 369 [Inline=Forward] |
361 void willDestroyResource(Resource* cachedResource); | 370 void willDestroyResource(Resource* cachedResource); |
362 | 371 |
363 [Timeline, Inline=FastReturn] | 372 [Timeline, Inline=FastReturn] |
364 InspectorInstrumentationCookie willWriteHTML([Keep] Document*, unsigned star
tLine); | 373 InspectorInstrumentationCookie willWriteHTML([Keep] Document*, unsigned star
tLine); |
365 | 374 |
366 [Timeline, Inline=FastReturn] | 375 [Timeline, Inline=FastReturn] |
367 void didWriteHTML(const InspectorInstrumentationCookie&, unsigned endLine); | 376 void didWriteHTML(const InspectorInstrumentationCookie&, unsigned endLine); |
368 | 377 |
369 [DOMDebugger, Timeline] | 378 [DOMDebugger, Debugger, Timeline] |
370 void didRequestAnimationFrame([Keep] Document*, int callbackId); | 379 void didRequestAnimationFrame([Keep] Document*, int callbackId); |
371 | 380 |
372 [DOMDebugger, Timeline] | 381 [DOMDebugger, Debugger, Timeline] |
373 void didCancelAnimationFrame([Keep] Document*, int callbackId); | 382 void didCancelAnimationFrame([Keep] Document*, int callbackId); |
374 | 383 |
375 [DOMDebugger, Timeline] | 384 [DOMDebugger, Debugger, Timeline] |
376 InspectorInstrumentationCookie willFireAnimationFrame([Keep] Document*, int
callbackId); | 385 InspectorInstrumentationCookie willFireAnimationFrame([Keep] Document*, int
callbackId); |
377 | 386 |
378 [Timeline, Inline=FastReturn] | 387 [Timeline, Debugger, Inline=FastReturn] |
379 void didFireAnimationFrame(const InspectorInstrumentationCookie&); | 388 void didFireAnimationFrame(const InspectorInstrumentationCookie&); |
380 | 389 |
381 [DOMStorage, Inline=FastReturn] | 390 [DOMStorage, Inline=FastReturn] |
382 void didDispatchDOMStorageEvent(Page* page, const String& key, const String&
oldValue, const String& newValue, StorageType storageType, SecurityOrigin* secu
rityOrigin); | 391 void didDispatchDOMStorageEvent(Page* page, const String& key, const String&
oldValue, const String& newValue, StorageType storageType, SecurityOrigin* secu
rityOrigin); |
383 | 392 |
384 [Worker] | 393 [Worker] |
385 void didStartWorkerGlobalScope(ExecutionContext*, WorkerGlobalScopeProxy* pr
oxy, const KURL& url); | 394 void didStartWorkerGlobalScope(ExecutionContext*, WorkerGlobalScopeProxy* pr
oxy, const KURL& url); |
386 | 395 |
387 [WorkerRuntime] | 396 [WorkerRuntime] |
388 void willEvaluateWorkerScript([Keep] WorkerGlobalScope* context, int workerT
hreadStartMode); | 397 void willEvaluateWorkerScript([Keep] WorkerGlobalScope* context, int workerT
hreadStartMode); |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 void pseudoElementCreated([Keep] PseudoElement*); | 445 void pseudoElementCreated([Keep] PseudoElement*); |
437 | 446 |
438 [DOM, Inline=FastReturn] | 447 [DOM, Inline=FastReturn] |
439 void pseudoElementDestroyed([Keep] PseudoElement*); | 448 void pseudoElementDestroyed([Keep] PseudoElement*); |
440 } | 449 } |
441 | 450 |
442 interface InspectorConsoleInstrumentation { | 451 interface InspectorConsoleInstrumentation { |
443 | 452 |
444 #include "core/inspector/ScriptArguments.h" | 453 #include "core/inspector/ScriptArguments.h" |
445 #include "core/inspector/ScriptCallStack.h" | 454 #include "core/inspector/ScriptCallStack.h" |
446 #include "core/inspector/ScriptProfile.h" | |
447 | 455 |
448 // FIXME: Convert to ScriptArguments to match non-worker context. | 456 // FIXME: Convert to ScriptArguments to match non-worker context. |
449 // Use the same implementation as above as a similar method dispatched on Pa
ge. | 457 // Use the same implementation as above as a similar method dispatched on Pa
ge. |
450 [Console] | 458 [Console] |
451 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me
ssageType type, MessageLevel level, const String& message, PassRefPtr<ScriptCall
Stack> callStack, unsigned long requestIdentifier = 0); | 459 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me
ssageType type, MessageLevel level, const String& message, PassRefPtr<ScriptCall
Stack> callStack, unsigned long requestIdentifier = 0); |
452 | 460 |
453 // Use the same implementation as above as a similar method dispatched on Pa
ge. | 461 // Use the same implementation as above as a similar method dispatched on Pa
ge. |
454 [Console] | 462 [Console] |
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); | 463 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 | 464 |
(...skipping 11 matching lines...) Expand all Loading... |
468 | 476 |
469 [Timeline, Inline=FastReturn] | 477 [Timeline, Inline=FastReturn] |
470 void consoleTimeStamp([Keep] ExecutionContext* context, const String& title)
; | 478 void consoleTimeStamp([Keep] ExecutionContext* context, const String& title)
; |
471 | 479 |
472 [Console, Inline=FastReturn] | 480 [Console, Inline=FastReturn] |
473 void consoleTimeline([Keep] ExecutionContext* context, const String& title,
ScriptState* state); | 481 void consoleTimeline([Keep] ExecutionContext* context, const String& title,
ScriptState* state); |
474 | 482 |
475 [Console, Inline=FastReturn] | 483 [Console, Inline=FastReturn] |
476 void consoleTimelineEnd([Keep] ExecutionContext* context, const String& titl
e, ScriptState* state); | 484 void consoleTimelineEnd([Keep] ExecutionContext* context, const String& titl
e, ScriptState* state); |
477 | 485 |
478 [Profiler] | 486 [Profiler, Inline=FastReturn] |
479 void addProfile(ExecutionContext* context, PassRefPtr<ScriptProfile> profile
, PassRefPtr<ScriptCallStack> callStack); | 487 void consoleProfile(ExecutionContext* context, const String& title, ScriptSt
ate* state); |
| 488 |
| 489 [Profiler, Inline=FastReturn] |
| 490 void consoleProfileEnd(ExecutionContext* context, const String& title); |
480 } | 491 } |
481 | 492 |
482 interface InspectorDatabaseInstrumentation { | 493 interface InspectorDatabaseInstrumentation { |
483 | 494 |
484 #include "modules/webdatabase/Database.h" | 495 #include "modules/webdatabase/Database.h" |
485 | 496 |
486 [Database] | 497 [Database] |
487 void didOpenDatabase(ExecutionContext* context, PassRefPtr<Database> databas
e, const String& domain, const String& name, const String& version); | 498 void didOpenDatabase(ExecutionContext* context, PassRefPtr<Database> databas
e, const String& domain, const String& name, const String& version); |
488 } | 499 } |
489 | 500 |
490 interface InspectorOverrides { | 501 interface InspectorOverrides { |
491 [CSS, Inline=FastReturn] | 502 [CSS, Inline=FastReturn] |
492 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud
oState); | 503 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud
oState); |
493 | 504 |
494 [Worker, Inline=FastReturn] | 505 [Worker, Inline=FastReturn] |
495 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context); | 506 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context); |
496 | 507 |
497 [Page, Inline=FastReturn] | 508 [Page, Inline=FastReturn] |
498 GeolocationPosition* overrideGeolocationPosition(Page* page, [DefaultReturn]
GeolocationPosition* position); | 509 GeolocationPosition* overrideGeolocationPosition(Page* page, [DefaultReturn]
GeolocationPosition* position); |
499 | 510 |
500 [Page, Inline=FastReturn] | 511 [Page, Inline=FastReturn] |
501 float overrideTextAutosizingFontScaleFactor(Page* page, [DefaultReturn] floa
t fontScaleFactor); | 512 float overrideFontScaleFactor(Page* page, [DefaultReturn] float fontScaleFac
tor); |
502 | 513 |
503 [Page, Inline=FastReturn] | 514 [Page, Inline=FastReturn] |
504 bool overrideTextAutosizing(Page* page, [DefaultReturn] bool textAutosizing)
; | 515 bool overrideTextAutosizing(Page* page, [DefaultReturn] bool textAutosizing)
; |
505 | |
506 [Profiler] | |
507 String getCurrentUserInitiatedProfileName(ExecutionContext* context, bool in
crementProfileNumber); | |
508 } | 516 } |
509 | 517 |
510 | 518 |
511 interface InspectorCanvasInstrumentation { | 519 interface InspectorCanvasInstrumentation { |
512 | 520 |
513 #include "bindings/v8/ScriptObject.h" | 521 #include "bindings/v8/ScriptObject.h" |
514 | 522 |
515 [Canvas] | 523 [Canvas] |
516 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const
ScriptObject&); | 524 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const
ScriptObject&); |
517 | 525 |
518 [Canvas] | 526 [Canvas] |
519 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc
riptObject&); | 527 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc
riptObject&); |
520 } | 528 } |
OLD | NEW |