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

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

Issue 645693003: [DevTools] Console Message Storage moved from top local frame to frame host (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 [Console, Debugger] 483 [Console, Debugger]
484 void addMessageToConsole(FrameHost* frameHost, ConsoleMessage* consoleMessag e);
485
486 [Console, Debugger]
484 void addMessageToConsole(ExecutionContext* context, ConsoleMessage* consoleM essage); 487 void addMessageToConsole(ExecutionContext* context, ConsoleMessage* consoleM essage);
485 488
486 [Timeline] 489 [Timeline]
487 void consoleTime([Keep] ExecutionContext* context, const String& title); 490 void consoleTime([Keep] ExecutionContext* context, const String& title);
488 491
489 [Timeline] 492 [Timeline]
490 void consoleTimeEnd([Keep] ExecutionContext* context, const String& title, S criptState* state); 493 void consoleTimeEnd([Keep] ExecutionContext* context, const String& title, S criptState* state);
491 494
492 [Timeline, Inline=FastReturn] 495 [Timeline, Inline=FastReturn]
493 void consoleTimeStamp([Keep] ExecutionContext* context, const String& title) ; 496 void consoleTimeStamp([Keep] ExecutionContext* context, const String& title) ;
494 497
495 [Console, Inline=FastReturn] 498 [Console, Inline=FastReturn]
496 void consoleTimeline([Keep] ExecutionContext* context, const String& title, ScriptState* state); 499 void consoleTimeline([Keep] ExecutionContext* context, const String& title, ScriptState* state);
497 500
498 [Console, Inline=FastReturn] 501 [Console, Inline=FastReturn]
499 void consoleTimelineEnd([Keep] ExecutionContext* context, const String& titl e, ScriptState* state); 502 void consoleTimelineEnd([Keep] ExecutionContext* context, const String& titl e, ScriptState* state);
500 503
501 [Profiler, Inline=FastReturn] 504 [Profiler, Inline=FastReturn]
502 void consoleProfile([Keep] ExecutionContext* context, const String& title); 505 void consoleProfile([Keep] ExecutionContext* context, const String& title);
503 506
504 [Profiler, Inline=FastReturn] 507 [Profiler, Inline=FastReturn]
505 void consoleProfileEnd(ExecutionContext* context, const String& title); 508 void consoleProfileEnd(ExecutionContext* context, const String& title);
506 509
507 [Console] 510 [Console]
511 void consoleMessagesCleared(FrameHost* frameHost);
512
513 [Console]
508 void consoleMessagesCleared(ExecutionContext* context); 514 void consoleMessagesCleared(ExecutionContext* context);
509 } 515 }
510 516
511 interface InspectorOverrides { 517 interface InspectorOverrides {
512 [CSS, Inline=FastReturn] 518 [CSS, Inline=FastReturn]
513 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud oState); 519 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud oState);
514 520
515 [Worker, Inline=FastReturn] 521 [Worker, Inline=FastReturn]
516 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context); 522 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context);
517 523
518 [Resource, Inline=FastReturn] 524 [Resource, Inline=FastReturn]
519 bool shouldForceCORSPreflight(Document*); 525 bool shouldForceCORSPreflight(Document*);
520 } 526 }
521 527
522 528
523 interface InspectorCanvasInstrumentation { 529 interface InspectorCanvasInstrumentation {
524 530
525 #include "bindings/core/v8/ScriptValue.h" 531 #include "bindings/core/v8/ScriptValue.h"
526 532
527 [Canvas] 533 [Canvas]
528 ScriptValue wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptValue&); 534 ScriptValue wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptValue&);
529 535
530 [Canvas] 536 [Canvas]
531 ScriptValue wrapWebGLRenderingContextForInstrumentation(Document*, const Scr iptValue&); 537 ScriptValue wrapWebGLRenderingContextForInstrumentation(Document*, const Scr iptValue&);
532 } 538 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698