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

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: 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 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 [Console] 442 [Console]
443 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); 443 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);
444 444
445 [Console, Debugger] 445 [Console, Debugger]
446 void addMessageToConsole(ScriptExecutionContext* context, MessageSource sour ce, MessageType type, MessageLevel level, const String& message, ScriptState* st ate, PassRefPtr<ScriptArguments> arguments, unsigned long requestIdentifier = 0) ; 446 void addMessageToConsole(ScriptExecutionContext* context, MessageSource sour ce, MessageType type, MessageLevel level, const String& message, ScriptState* st ate, PassRefPtr<ScriptArguments> arguments, unsigned long requestIdentifier = 0) ;
447 447
448 [Console] 448 [Console]
449 void consoleCount(ScriptExecutionContext* context, ScriptState* state, PassR efPtr<ScriptArguments> arguments); 449 void consoleCount(ScriptExecutionContext* context, ScriptState* state, PassR efPtr<ScriptArguments> arguments);
450 450
451 [Timeline, Console] 451 [Timeline, Console]
452 void startConsoleTiming([Keep] ScriptExecutionContext* context, const String & title); 452 void consoleTime([Keep] ScriptExecutionContext* context, const String& title );
453 453
454 [Console, Timeline] 454 [Console, Timeline]
455 void stopConsoleTiming([Keep] ScriptExecutionContext* context, const String& title, PassRefPtr<ScriptCallStack> stack); 455 void consoleTimeEnd([Keep] ScriptExecutionContext* context, const String& ti tle, ScriptState* state);
456 456
457 [Timeline, Inline=FastReturn] 457 [Timeline, Inline=FastReturn]
458 void consoleTimeStamp([Keep] ScriptExecutionContext* context, PassRefPtr<Scr iptArguments> arguments); 458 void consoleTimeStamp([Keep] ScriptExecutionContext* context, const String& title);
459 459
460 [Profiler] 460 [Console, Inline=FastReturn]
461 void addStartProfilingMessageToConsole(ScriptExecutionContext* context, cons t String& title, unsigned lineNumber, const String& sourceURL); 461 void consoleTimeline([Keep] ScriptExecutionContext* context, const String& t itle, ScriptState* state);
462
463 [Console, Inline=FastReturn]
464 void consoleTimelineEnd([Keep] ScriptExecutionContext* context, const String & title, ScriptState* state);
462 465
463 [Profiler] 466 [Profiler]
464 void addProfile(ScriptExecutionContext* context, PassRefPtr<ScriptProfile> p rofile, PassRefPtr<ScriptCallStack> callStack); 467 void addProfile(ScriptExecutionContext* context, PassRefPtr<ScriptProfile> p rofile, PassRefPtr<ScriptCallStack> callStack);
465 } 468 }
466 469
467 interface InspectorDatabaseInstrumentation { 470 interface InspectorDatabaseInstrumentation {
468 471
469 #include "modules/webdatabase/Database.h" 472 #include "modules/webdatabase/Database.h"
470 473
471 [Database] 474 [Database]
(...skipping 27 matching lines...) Expand all
499 interface InspectorCanvasInstrumentation { 502 interface InspectorCanvasInstrumentation {
500 503
501 #include "bindings/v8/ScriptObject.h" 504 #include "bindings/v8/ScriptObject.h"
502 505
503 [Canvas] 506 [Canvas]
504 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptObject&); 507 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptObject&);
505 508
506 [Canvas] 509 [Canvas]
507 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc riptObject&); 510 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc riptObject&);
508 } 511 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698