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

Side by Side Diff: Source/core/inspector/InspectorInstrumentation.idl

Issue 177773002: Support Promises instrumentation on backend. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix style Created 6 years, 9 months 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 /* 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 183
184 [Debugger, Inline=FastReturn] 184 [Debugger, Inline=FastReturn]
185 void didClearAllMutationRecords([Keep] ExecutionContext*, MutationObserver*) ; 185 void didClearAllMutationRecords([Keep] ExecutionContext*, MutationObserver*) ;
186 186
187 [Debugger, Inline=FastReturn] 187 [Debugger, Inline=FastReturn]
188 void willDeliverMutationRecords([Keep] ExecutionContext*, MutationObserver*) ; 188 void willDeliverMutationRecords([Keep] ExecutionContext*, MutationObserver*) ;
189 189
190 [Debugger, Inline=FastReturn] 190 [Debugger, Inline=FastReturn]
191 void didDeliverMutationRecords(ExecutionContext*); 191 void didDeliverMutationRecords(ExecutionContext*);
192 192
193 [Debugger, Inline=FastReturn]
194 void didPostPromiseTask([Keep] ExecutionContext*, ExecutionContextTask*, boo l isResolved);
195
196 [Debugger, Inline=FastReturn]
197 InspectorInstrumentationCookie willPerformPromiseTask([Keep] ExecutionContex t*, ExecutionContextTask*);
198
199 [Debugger, Inline=FastReturn]
200 void didPerformPromiseTask(const InspectorInstrumentationCookie&);
201
202 [Timeline, Inline=FastReturn] 193 [Timeline, Inline=FastReturn]
203 InspectorInstrumentationCookie willEvaluateScript([Keep] LocalFrame*, const String& url, int lineNumber); 194 InspectorInstrumentationCookie willEvaluateScript([Keep] LocalFrame*, const String& url, int lineNumber);
204 195
205 [Timeline, Inline=FastReturn] 196 [Timeline, Inline=FastReturn]
206 void didEvaluateScript(const InspectorInstrumentationCookie&); 197 void didEvaluateScript(const InspectorInstrumentationCookie&);
207 198
208 [PageRuntime, Inline=FastReturn] 199 [PageRuntime, Inline=FastReturn]
209 void didCreateIsolatedContext([Keep] LocalFrame*, ScriptState*, SecurityOrig in*); 200 void didCreateIsolatedContext([Keep] LocalFrame*, ScriptState*, SecurityOrig in*);
210 201
211 [DOMDebugger, Debugger, Timeline, Inline=FastReturn] 202 [DOMDebugger, Debugger, Timeline, Inline=FastReturn]
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 interface InspectorCanvasInstrumentation { 506 interface InspectorCanvasInstrumentation {
516 507
517 #include "bindings/v8/ScriptObject.h" 508 #include "bindings/v8/ScriptObject.h"
518 509
519 [Canvas] 510 [Canvas]
520 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptObject&); 511 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptObject&);
521 512
522 [Canvas] 513 [Canvas]
523 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc riptObject&); 514 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc riptObject&);
524 } 515 }
516
517
518 interface InspectorPromiseInstrumentation {
519
520 #include <v8.h>
521 #include "bindings/v8/custom/V8PromiseCustom.h"
522
523 [Debugger, Inline=FastReturn]
524 void didPostPromiseTask([Keep] ExecutionContext*, ExecutionContextTask*, boo l isResolved);
525
526 [Debugger, Inline=FastReturn]
527 InspectorInstrumentationCookie willPerformPromiseTask([Keep] ExecutionContex t*, ExecutionContextTask*);
528
529 [Debugger, Inline=FastReturn]
530 void didPerformPromiseTask(const InspectorInstrumentationCookie&);
531
532 [Debugger, Inline=FastReturn]
533 void didCreatePromise([Keep] ExecutionContext*, v8::Handle<v8::Object> promi se, v8::Handle<v8::Object> parentPromise, V8PromiseCustom::PromiseState state = V8PromiseCustom::Pending);
534
535 [Debugger, Inline=FastReturn]
536 void didUpdatePromiseParent(ExecutionContext*, v8::Handle<v8::Object> promis e, v8::Handle<v8::Object> parentPromise);
537
538 [Debugger, Inline=FastReturn]
539 void didUpdatePromiseState(ExecutionContext*, v8::Handle<v8::Object> promise , V8PromiseCustom::PromiseState state, v8::Handle<v8::Value> result);
540 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698