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

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

Issue 20191003: Route JS Error Info From Blink to Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@gclient
Patch Set: Adam's requests Created 7 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 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 425
426 [LayerTree] 426 [LayerTree]
427 void renderLayerDestroyed(Page*, const RenderLayer*); 427 void renderLayerDestroyed(Page*, const RenderLayer*);
428 428
429 [LayerTree] 429 [LayerTree]
430 void pseudoElementDestroyed(Page*, PseudoElement*); 430 void pseudoElementDestroyed(Page*, PseudoElement*);
431 } 431 }
432 432
433 interface InspectorConsoleInstrumentation { 433 interface InspectorConsoleInstrumentation {
434 434
435 #include "core/inspector/ConsoleMessage.h"
436 #include "core/inspector/InspectorAgent.h"
435 #include "core/inspector/ScriptArguments.h" 437 #include "core/inspector/ScriptArguments.h"
436 #include "core/inspector/ScriptCallStack.h" 438 #include "core/inspector/ScriptCallStack.h"
437 #include "core/inspector/ScriptProfile.h" 439 #include "core/inspector/ScriptProfile.h"
438 440
439 [Console, Debugger] // FIXME: Drop this once we no longer generate stacks o utside of Inspector.
440 void addMessageToConsole(Page* page, MessageSource source, MessageType type, MessageLevel level, const String& message, PassRefPtr<ScriptCallStack> callStac k, unsigned long requestIdentifier = 0);
441
442 [Console, Debugger] 441 [Console, Debugger]
443 void addMessageToConsole(Page* page, MessageSource source, MessageType type, MessageLevel level, const String& message, ScriptState* state, PassRefPtr<Scrip tArguments> arguments, unsigned long requestIdentifier = 0); 442 void addMessageToConsole(Page*, PassOwnPtr<ConsoleMessage>, InspectorAgent:: CheckFrontendBehavior);
444
445 [Console]
446 void addMessageToConsole(Page* page, MessageSource source, MessageType type, MessageLevel level, const String& message, const String& scriptId, unsigned lin eNumber, unsigned columnNumber = 0, ScriptState* state = 0, unsigned long reques tIdentifier = 0);
447 443
448 // FIXME: Convert to ScriptArguments to match non-worker context. 444 // FIXME: Convert to ScriptArguments to match non-worker context.
449 // Use the same implementation as above as a similar method dispatched on Pa ge. 445 [Console, Debugger]
450 void addMessageToConsole(WorkerGlobalScope* workerGlobalScope, MessageSource source, MessageType type, MessageLevel level, const String& message, PassRefPtr <ScriptCallStack> callStack, unsigned long requestIdentifier = 0); 446 void addMessageToConsole(WorkerGlobalScope* workerGlobalScope, MessageSource source, MessageType type, MessageLevel level, const String& message, PassRefPtr <ScriptCallStack> callStack, unsigned long requestIdentifier = 0);
451 447
452 // Use the same implementation as above as a similar method dispatched on Pa ge. 448 // Use the same implementation as above as a similar method dispatched on Pa ge.
449 [Console]
453 void addMessageToConsole(WorkerGlobalScope* workerGlobalScope, MessageSource source, MessageType type, MessageLevel level, const String& message, const Stri ng& scriptId, unsigned lineNumber, unsigned columnNumber, ScriptState* state, un signed long requestIdentifier = 0); 450 void addMessageToConsole(WorkerGlobalScope* workerGlobalScope, MessageSource source, MessageType type, MessageLevel level, const String& message, const Stri ng& scriptId, unsigned lineNumber, unsigned columnNumber, ScriptState* state, un signed long requestIdentifier = 0);
454 451
455 [Console] 452 [Console]
456 void consoleCount(Page* page, ScriptState* state, PassRefPtr<ScriptArguments > arguments); 453 void consoleCount(Page* page, ScriptState* state, PassRefPtr<ScriptArguments > arguments);
457 454
458 [Timeline, Console] 455 [Timeline, Console]
459 void startConsoleTiming([Keep] Frame* frame, const String& title); 456 void startConsoleTiming([Keep] Frame* frame, const String& title);
460 457
461 [Console, Timeline] 458 [Console, Timeline]
462 void stopConsoleTiming([Keep] Frame* frame, const String& title, PassRefPtr< ScriptCallStack> stack); 459 void stopConsoleTiming([Keep] Frame* frame, const String& title, PassRefPtr< ScriptCallStack> stack);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 interface InspectorCanvasInstrumentation { 503 interface InspectorCanvasInstrumentation {
507 504
508 #include "bindings/v8/ScriptObject.h" 505 #include "bindings/v8/ScriptObject.h"
509 506
510 [Canvas] 507 [Canvas]
511 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptObject&); 508 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptObject&);
512 509
513 [Canvas] 510 [Canvas]
514 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc riptObject&); 511 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc riptObject&);
515 } 512 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698