| 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 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 interface InspectorCanvasInstrumentation { | 498 interface InspectorCanvasInstrumentation { |
| 499 | 499 |
| 500 #include "bindings/v8/ScriptObject.h" | 500 #include "bindings/v8/ScriptObject.h" |
| 501 | 501 |
| 502 [Canvas] | 502 [Canvas] |
| 503 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const
ScriptObject&); | 503 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const
ScriptObject&); |
| 504 | 504 |
| 505 [Canvas] | 505 [Canvas] |
| 506 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc
riptObject&); | 506 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc
riptObject&); |
| 507 } | 507 } |
| 508 | |
| 509 | |
| 510 interface InspectorPromiseInstrumentation { | |
| 511 | |
| 512 #include "bindings/v8/custom/V8PromiseCustom.h" | |
| 513 #include "bindings/v8/ScriptObject.h" | |
| 514 | |
| 515 [Debugger, Inline=FastReturn] | |
| 516 void didPostPromiseTask([Keep] ExecutionContext*, ExecutionContextTask*, boo
l isResolved); | |
| 517 | |
| 518 [Debugger, Inline=FastReturn] | |
| 519 InspectorInstrumentationCookie willPerformPromiseTask([Keep] ExecutionContex
t*, ExecutionContextTask*); | |
| 520 | |
| 521 [Debugger, Inline=FastReturn] | |
| 522 void didPerformPromiseTask(const InspectorInstrumentationCookie&); | |
| 523 | |
| 524 [Debugger, Inline=FastReturn] | |
| 525 bool isPromiseTrackerEnabled(ExecutionContext*); | |
| 526 | |
| 527 [Debugger, Inline=FastReturn] | |
| 528 void didCreatePromise(ExecutionContext*, const ScriptObject& promise); | |
| 529 | |
| 530 [Debugger, Inline=FastReturn] | |
| 531 void didUpdatePromiseParent(ExecutionContext*, const ScriptObject& promise,
const ScriptObject& parentPromise); | |
| 532 | |
| 533 [Debugger, Inline=FastReturn] | |
| 534 void didUpdatePromiseState(ExecutionContext*, const ScriptObject& promise, V
8PromiseCustom::PromiseState, const ScriptValue& result); | |
| 535 } | |
| OLD | NEW |