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

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

Issue 376213002: DevTools: Make FrameConsole methods accept ConsoleMessage objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@scriptFailedToParse
Patch Set: Created 6 years, 5 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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 void pseudoElementDestroyed([Keep] PseudoElement*); 450 void pseudoElementDestroyed([Keep] PseudoElement*);
451 451
452 [DOMDebugger, Inline=FastReturn] 452 [DOMDebugger, Inline=FastReturn]
453 void willExecuteCustomElementCallback([Keep] Element*); 453 void willExecuteCustomElementCallback([Keep] Element*);
454 } 454 }
455 455
456 interface InspectorConsoleInstrumentation { 456 interface InspectorConsoleInstrumentation {
457 457
458 #include "core/inspector/ScriptArguments.h" 458 #include "core/inspector/ScriptArguments.h"
459 #include "core/inspector/ScriptCallStack.h" 459 #include "core/inspector/ScriptCallStack.h"
460 #include "core/inspector/ConsoleMessage.h"
460 461
461 // FIXME: Convert to ScriptArguments to match non-worker context. 462 // FIXME: Convert to ScriptArguments to match non-worker context.
462 // Use the same implementation as above as a similar method dispatched on Pa ge. 463 // Use the same implementation as above as a similar method dispatched on Pa ge.
463 [Console] 464 [Console]
464 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me ssageType type, MessageLevel level, const String& message, PassRefPtrWillBeRawPt r<ScriptCallStack> callStack, unsigned long requestIdentifier = 0); 465 void addMessageToConsole(ExecutionContext* context, PassRefPtr<ConsoleMessag e> consoleMessage);
465
466 // Use the same implementation as above as a similar method dispatched on Pa ge.
467 [Console]
468 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);
469 466
470 [Console, Debugger] 467 [Console, Debugger]
471 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me ssageType type, MessageLevel level, const String& message, ScriptState* state, P assRefPtrWillBeRawPtr<ScriptArguments> arguments, unsigned long requestIdentifie r = 0); 468 void addMessageToConsole(ExecutionContext* context, MessageSource source, Me ssageType type, MessageLevel level, const String& message, ScriptState* state, P assRefPtrWillBeRawPtr<ScriptArguments> arguments, unsigned long requestIdentifie r = 0);
472 469
473 [Console] 470 [Console]
474 void consoleCount(ExecutionContext* context, ScriptState* state, PassRefPtrW illBeRawPtr<ScriptArguments> arguments); 471 void consoleCount(ExecutionContext* context, ScriptState* state, PassRefPtrW illBeRawPtr<ScriptArguments> arguments);
475 472
476 [Timeline, Console] 473 [Timeline, Console]
477 void consoleTime([Keep] ExecutionContext* context, const String& title); 474 void consoleTime([Keep] ExecutionContext* context, const String& title);
478 475
(...skipping 28 matching lines...) Expand all
507 interface InspectorCanvasInstrumentation { 504 interface InspectorCanvasInstrumentation {
508 505
509 #include "bindings/core/v8/ScriptValue.h" 506 #include "bindings/core/v8/ScriptValue.h"
510 507
511 [Canvas] 508 [Canvas]
512 ScriptValue wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptValue&); 509 ScriptValue wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptValue&);
513 510
514 [Canvas] 511 [Canvas]
515 ScriptValue wrapWebGLRenderingContextForInstrumentation(Document*, const Scr iptValue&); 512 ScriptValue wrapWebGLRenderingContextForInstrumentation(Document*, const Scr iptValue&);
516 } 513 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698