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

Side by Side Diff: Source/core/inspector/InspectorController.cpp

Issue 54273005: DevTools: add ids to compositor frames (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 void InspectorController::didProcessTask() 390 void InspectorController::didProcessTask()
391 { 391 {
392 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent()) 392 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent())
393 timelineAgent->didProcessTask(); 393 timelineAgent->didProcessTask();
394 if (InspectorProfilerAgent* profilerAgent = m_instrumentingAgents->inspector ProfilerAgent()) 394 if (InspectorProfilerAgent* profilerAgent = m_instrumentingAgents->inspector ProfilerAgent())
395 profilerAgent->didProcessTask(); 395 profilerAgent->didProcessTask();
396 if (InspectorDOMDebuggerAgent* domDebuggerAgent = m_instrumentingAgents->ins pectorDOMDebuggerAgent()) 396 if (InspectorDOMDebuggerAgent* domDebuggerAgent = m_instrumentingAgents->ins pectorDOMDebuggerAgent())
397 domDebuggerAgent->didProcessTask(); 397 domDebuggerAgent->didProcessTask();
398 } 398 }
399 399
400 void InspectorController::didBeginFrame() 400 void InspectorController::didBeginFrame(int frameId)
401 { 401 {
402 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent()) 402 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent())
403 timelineAgent->didBeginFrame(); 403 timelineAgent->didBeginFrame(frameId);
404 if (InspectorCanvasAgent* canvasAgent = m_instrumentingAgents->inspectorCanv asAgent()) 404 if (InspectorCanvasAgent* canvasAgent = m_instrumentingAgents->inspectorCanv asAgent())
405 canvasAgent->didBeginFrame(); 405 canvasAgent->didBeginFrame();
406 } 406 }
407 407
408 void InspectorController::didCancelFrame() 408 void InspectorController::didCancelFrame()
409 { 409 {
410 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent()) 410 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent())
411 timelineAgent->didCancelFrame(); 411 timelineAgent->didCancelFrame();
412 } 412 }
413 413
414 void InspectorController::willComposite() 414 void InspectorController::willComposite()
415 { 415 {
416 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent()) 416 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent())
417 timelineAgent->willComposite(); 417 timelineAgent->willComposite();
418 } 418 }
419 419
420 void InspectorController::didComposite() 420 void InspectorController::didComposite()
421 { 421 {
422 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent()) 422 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector TimelineAgent())
423 timelineAgent->didComposite(); 423 timelineAgent->didComposite();
424 } 424 }
425 425
426 } // namespace WebCore 426 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698