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

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

Issue 24027002: DevTools: implement console.timeline/timelineEnd. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review comments addressed. Created 7 years, 3 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 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 [Console] 451 [Console]
452 void addMessageToConsole(ScriptExecutionContext* context, MessageSource sour ce, MessageType type, MessageLevel level, const String& message, const String& s criptId, unsigned lineNumber, unsigned columnNumber, ScriptState* state, unsigne d long requestIdentifier = 0); 452 void addMessageToConsole(ScriptExecutionContext* context, MessageSource sour ce, MessageType type, MessageLevel level, const String& message, const String& s criptId, unsigned lineNumber, unsigned columnNumber, ScriptState* state, unsigne d long requestIdentifier = 0);
453 453
454 [Console, Debugger] 454 [Console, Debugger]
455 void addMessageToConsole(ScriptExecutionContext* context, MessageSource sour ce, MessageType type, MessageLevel level, const String& message, ScriptState* st ate, PassRefPtr<ScriptArguments> arguments, unsigned long requestIdentifier = 0) ; 455 void addMessageToConsole(ScriptExecutionContext* context, MessageSource sour ce, MessageType type, MessageLevel level, const String& message, ScriptState* st ate, PassRefPtr<ScriptArguments> arguments, unsigned long requestIdentifier = 0) ;
456 456
457 [Console] 457 [Console]
458 void consoleCount(ScriptExecutionContext* context, ScriptState* state, PassR efPtr<ScriptArguments> arguments); 458 void consoleCount(ScriptExecutionContext* context, ScriptState* state, PassR efPtr<ScriptArguments> arguments);
459 459
460 [Timeline, Console] 460 [Timeline, Console]
461 void startConsoleTiming([Keep] ScriptExecutionContext* context, const String & title); 461 void consoleTime([Keep] ScriptExecutionContext* context, const String& title );
462 462
463 [Console, Timeline] 463 [Console, Timeline]
464 void stopConsoleTiming([Keep] ScriptExecutionContext* context, const String& title, PassRefPtr<ScriptCallStack> stack); 464 void consoleTimeEnd([Keep] ScriptExecutionContext* context, const String& ti tle, ScriptState* state);
465 465
466 [Timeline, Inline=FastReturn] 466 [Timeline, Inline=FastReturn]
467 void consoleTimeStamp([Keep] ScriptExecutionContext* context, PassRefPtr<Scr iptArguments> arguments); 467 void consoleTimeStamp([Keep] ScriptExecutionContext* context, const String& title);
468 468
469 [Profiler] 469 [Console, Inline=FastReturn]
470 void addStartProfilingMessageToConsole(ScriptExecutionContext* context, cons t String& title, unsigned lineNumber, const String& sourceURL); 470 void consoleTimeline([Keep] ScriptExecutionContext* context, const String& t itle, ScriptState* state);
471
472 [Console, Inline=FastReturn]
473 void consoleTimelineEnd([Keep] ScriptExecutionContext* context, const String & title, ScriptState* state);
471 474
472 [Profiler] 475 [Profiler]
473 void addProfile(ScriptExecutionContext* context, PassRefPtr<ScriptProfile> p rofile, PassRefPtr<ScriptCallStack> callStack); 476 void addProfile(ScriptExecutionContext* context, PassRefPtr<ScriptProfile> p rofile, PassRefPtr<ScriptCallStack> callStack);
474 } 477 }
475 478
476 interface InspectorDatabaseInstrumentation { 479 interface InspectorDatabaseInstrumentation {
477 480
478 #include "modules/webdatabase/Database.h" 481 #include "modules/webdatabase/Database.h"
479 482
480 [Database] 483 [Database]
(...skipping 27 matching lines...) Expand all
508 interface InspectorCanvasInstrumentation { 511 interface InspectorCanvasInstrumentation {
509 512
510 #include "bindings/v8/ScriptObject.h" 513 #include "bindings/v8/ScriptObject.h"
511 514
512 [Canvas] 515 [Canvas]
513 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptObject&); 516 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptObject&);
514 517
515 [Canvas] 518 [Canvas]
516 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc riptObject&); 519 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc riptObject&);
517 } 520 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698