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

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

Issue 466753002: DevTools: Do not push to frontend messages from worker while it is alive (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove unneeded changes 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 | 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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 390
391 [DOMStorage, Inline=FastReturn] 391 [DOMStorage, Inline=FastReturn]
392 void didDispatchDOMStorageEvent(Page* page, const String& key, const String& oldValue, const String& newValue, StorageType storageType, SecurityOrigin* secu rityOrigin); 392 void didDispatchDOMStorageEvent(Page* page, const String& key, const String& oldValue, const String& newValue, StorageType storageType, SecurityOrigin* secu rityOrigin);
393 393
394 [Worker] 394 [Worker]
395 void didStartWorkerGlobalScope(ExecutionContext*, WorkerGlobalScopeProxy* pr oxy, const KURL& url); 395 void didStartWorkerGlobalScope(ExecutionContext*, WorkerGlobalScopeProxy* pr oxy, const KURL& url);
396 396
397 [WorkerRuntime] 397 [WorkerRuntime]
398 void willEvaluateWorkerScript([Keep] WorkerGlobalScope* context, int workerT hreadStartMode); 398 void willEvaluateWorkerScript([Keep] WorkerGlobalScope* context, int workerT hreadStartMode);
399 399
400 [Worker] 400 [Worker, Console]
vsevik 2014/08/12 14:25:13 Let's make an explicit call on the call site inste
sergeyv 2014/08/12 15:37:53 Done.
401 void workerGlobalScopeTerminated(ExecutionContext*, WorkerGlobalScopeProxy* proxy); 401 void workerGlobalScopeTerminated(ExecutionContext*, WorkerGlobalScopeProxy* proxy);
402 402
403 [Profiler, Timeline] 403 [Profiler, Timeline]
404 void willProcessTask(WorkerGlobalScope* context); 404 void willProcessTask(WorkerGlobalScope* context);
405 405
406 [Profiler, Timeline] 406 [Profiler, Timeline]
407 void didProcessTask(WorkerGlobalScope* context); 407 void didProcessTask(WorkerGlobalScope* context);
408 408
409 [Profiler] 409 [Profiler]
410 void willEnterNestedRunLoop(WorkerGlobalScope* context); 410 void willEnterNestedRunLoop(WorkerGlobalScope* context);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // Use the same implementation as above as a similar method dispatched on Pa ge.
484 [Console] 484 [Console]
485 void addMessageToConsole(ExecutionContext* context, ConsoleMessage* consoleM essage); 485 void addMessageToConsole(ExecutionContext* context, ConsoleMessage* consoleM essage);
486 486
487 [Console]
488 void addMessageToConsoleFromWorker(ExecutionContext* context, WorkerGlobalSc opeProxy* proxy, ConsoleMessage* consoleMessage);
489
487 [Console, Debugger] 490 [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); 491 void addConsoleAPIMessageToConsole(ExecutionContext* context, MessageType ty pe, MessageLevel level, const String& message, ScriptState* state, PassRefPtrWil lBeRawPtr<ScriptArguments> arguments, unsigned long requestIdentifier = 0);
489 492
490 [Console] 493 [Console]
491 void consoleCount(ExecutionContext* context, ScriptState* state, PassRefPtrW illBeRawPtr<ScriptArguments> arguments); 494 void consoleCount(ExecutionContext* context, ScriptState* state, PassRefPtrW illBeRawPtr<ScriptArguments> arguments);
492 495
493 [Timeline, Console] 496 [Timeline, Console]
494 void consoleTime([Keep] ExecutionContext* context, const String& title); 497 void consoleTime([Keep] ExecutionContext* context, const String& title);
495 498
496 [Console, Timeline] 499 [Console, Timeline]
(...skipping 27 matching lines...) Expand all
524 interface InspectorCanvasInstrumentation { 527 interface InspectorCanvasInstrumentation {
525 528
526 #include "bindings/core/v8/ScriptValue.h" 529 #include "bindings/core/v8/ScriptValue.h"
527 530
528 [Canvas] 531 [Canvas]
529 ScriptValue wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptValue&); 532 ScriptValue wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptValue&);
530 533
531 [Canvas] 534 [Canvas]
532 ScriptValue wrapWebGLRenderingContextForInstrumentation(Document*, const Scr iptValue&); 535 ScriptValue wrapWebGLRenderingContextForInstrumentation(Document*, const Scr iptValue&);
533 } 536 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698