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

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

Issue 293963003: Remove ScriptObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 [CSS, Inline=FastReturn] 490 [CSS, Inline=FastReturn]
491 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud oState); 491 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud oState);
492 492
493 [Worker, Inline=FastReturn] 493 [Worker, Inline=FastReturn]
494 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context); 494 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context);
495 } 495 }
496 496
497 497
498 interface InspectorCanvasInstrumentation { 498 interface InspectorCanvasInstrumentation {
499 499
500 #include "bindings/v8/ScriptObject.h" 500 #include "bindings/v8/ScriptValue.h"
501 501
502 [Canvas] 502 [Canvas]
503 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptObject&); 503 ScriptValue wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptValue&);
504 504
505 [Canvas] 505 [Canvas]
506 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc riptObject&); 506 ScriptValue wrapWebGLRenderingContextForInstrumentation(Document*, const Scr iptValue&);
507 } 507 }
508 508
509 509
510 interface InspectorPromiseInstrumentation { 510 interface InspectorPromiseInstrumentation {
511 511
512 #include "bindings/v8/custom/V8PromiseCustom.h" 512 #include "bindings/v8/custom/V8PromiseCustom.h"
513 #include "bindings/v8/ScriptObject.h" 513 #include "bindings/v8/ScriptValue.h"
514 514
515 [Debugger, Inline=FastReturn] 515 [Debugger, Inline=FastReturn]
516 void didPostPromiseTask([Keep] ExecutionContext*, ExecutionContextTask*, boo l isResolved); 516 void didPostPromiseTask([Keep] ExecutionContext*, ExecutionContextTask*, boo l isResolved);
517 517
518 [Debugger, Inline=FastReturn] 518 [Debugger, Inline=FastReturn]
519 InspectorInstrumentationCookie willPerformPromiseTask([Keep] ExecutionContex t*, ExecutionContextTask*); 519 InspectorInstrumentationCookie willPerformPromiseTask([Keep] ExecutionContex t*, ExecutionContextTask*);
520 520
521 [Debugger, Inline=FastReturn] 521 [Debugger, Inline=FastReturn]
522 void didPerformPromiseTask(const InspectorInstrumentationCookie&); 522 void didPerformPromiseTask(const InspectorInstrumentationCookie&);
523 523
524 [Debugger, Inline=FastReturn] 524 [Debugger, Inline=FastReturn]
525 bool isPromiseTrackerEnabled(ExecutionContext*); 525 bool isPromiseTrackerEnabled(ExecutionContext*);
526 526
527 [Debugger, Inline=FastReturn] 527 [Debugger, Inline=FastReturn]
528 void didCreatePromise(ExecutionContext*, const ScriptObject& promise); 528 void didCreatePromise(ExecutionContext*, const ScriptValue& promise);
529 529
530 [Debugger, Inline=FastReturn] 530 [Debugger, Inline=FastReturn]
531 void didUpdatePromiseParent(ExecutionContext*, const ScriptObject& promise, const ScriptObject& parentPromise); 531 void didUpdatePromiseParent(ExecutionContext*, const ScriptValue& promise, c onst ScriptValue& parentPromise);
532 532
533 [Debugger, Inline=FastReturn] 533 [Debugger, Inline=FastReturn]
534 void didUpdatePromiseState(ExecutionContext*, const ScriptObject& promise, V 8PromiseCustom::PromiseState, const ScriptValue& result); 534 void didUpdatePromiseState(ExecutionContext*, const ScriptValue& promise, V8 PromiseCustom::PromiseState, const ScriptValue& result);
535 } 535 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698