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

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

Issue 472023002: [DevTools] ConsoleAPI messages pass through frame console (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: PassRefPtr<ConsoleMessage> -> PassRefPtrWillBeRawPtr<ConsoleMessage> Created 6 years, 4 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
« no previous file with comments | « Source/core/inspector/InspectorDebuggerAgent.cpp ('k') | Source/core/workers/WorkerConsole.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 [Debugger, Inline=FastReturn] 473 [Debugger, Inline=FastReturn]
474 void traceAsyncCallbackCompleted(const InspectorInstrumentationCookie&); 474 void traceAsyncCallbackCompleted(const InspectorInstrumentationCookie&);
475 } 475 }
476 476
477 interface InspectorConsoleInstrumentation { 477 interface InspectorConsoleInstrumentation {
478 478
479 #include "core/inspector/ScriptArguments.h" 479 #include "core/inspector/ScriptArguments.h"
480 480
481 class ConsoleMessage; 481 class ConsoleMessage;
482 482
483 // Use the same implementation as above as a similar method dispatched on Pa ge. 483 [Console, Debugger]
484 [Console]
485 void addMessageToConsole(ExecutionContext* context, ConsoleMessage* consoleM essage); 484 void addMessageToConsole(ExecutionContext* context, ConsoleMessage* consoleM essage);
486 485
487 [Console, Debugger]
488 void addConsoleAPIMessageToConsole(ExecutionContext* context, MessageType ty pe, MessageLevel level, const String& message, ScriptState* state, PassRefPtrWil lBeRawPtr<ScriptArguments> arguments, unsigned long requestIdentifier = 0);
489
490 [Console] 486 [Console]
491 void consoleCount(ExecutionContext* context, ScriptState* state, PassRefPtrW illBeRawPtr<ScriptArguments> arguments); 487 void consoleCount(ExecutionContext* context, ScriptState* state, PassRefPtrW illBeRawPtr<ScriptArguments> arguments);
492 488
493 [Timeline, Console] 489 [Timeline, Console]
494 void consoleTime([Keep] ExecutionContext* context, const String& title); 490 void consoleTime([Keep] ExecutionContext* context, const String& title);
495 491
496 [Console, Timeline] 492 [Console, Timeline]
497 void consoleTimeEnd([Keep] ExecutionContext* context, const String& title, S criptState* state); 493 void consoleTimeEnd([Keep] ExecutionContext* context, const String& title, S criptState* state);
498 494
499 [Timeline, Inline=FastReturn] 495 [Timeline, Inline=FastReturn]
(...skipping 28 matching lines...) Expand all
528 interface InspectorCanvasInstrumentation { 524 interface InspectorCanvasInstrumentation {
529 525
530 #include "bindings/core/v8/ScriptValue.h" 526 #include "bindings/core/v8/ScriptValue.h"
531 527
532 [Canvas] 528 [Canvas]
533 ScriptValue wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptValue&); 529 ScriptValue wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptValue&);
534 530
535 [Canvas] 531 [Canvas]
536 ScriptValue wrapWebGLRenderingContextForInstrumentation(Document*, const Scr iptValue&); 532 ScriptValue wrapWebGLRenderingContextForInstrumentation(Document*, const Scr iptValue&);
537 } 533 }
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorDebuggerAgent.cpp ('k') | Source/core/workers/WorkerConsole.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698