OLD | NEW |
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 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 if (InspectorProfilerAgent* profilerAgent = m_instrumentingAgents->inspector
ProfilerAgent()) | 463 if (InspectorProfilerAgent* profilerAgent = m_instrumentingAgents->inspector
ProfilerAgent()) |
464 profilerAgent->willProcessTask(); | 464 profilerAgent->willProcessTask(); |
465 } | 465 } |
466 | 466 |
467 void InspectorController::didProcessTask() | 467 void InspectorController::didProcessTask() |
468 { | 468 { |
469 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector
TimelineAgent()) | 469 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector
TimelineAgent()) |
470 timelineAgent->didProcessTask(); | 470 timelineAgent->didProcessTask(); |
471 if (InspectorProfilerAgent* profilerAgent = m_instrumentingAgents->inspector
ProfilerAgent()) | 471 if (InspectorProfilerAgent* profilerAgent = m_instrumentingAgents->inspector
ProfilerAgent()) |
472 profilerAgent->didProcessTask(); | 472 profilerAgent->didProcessTask(); |
473 if (InspectorDOMDebuggerAgent* domDebuggerAgent = m_instrumentingAgents->ins
pectorDOMDebuggerAgent()) | |
474 domDebuggerAgent->didProcessTask(); | |
475 } | 473 } |
476 | 474 |
477 void InspectorController::flushPendingFrontendMessages() | 475 void InspectorController::flushPendingFrontendMessages() |
478 { | 476 { |
479 m_agents.flushPendingFrontendMessages(); | 477 m_agents.flushPendingFrontendMessages(); |
480 } | 478 } |
481 | 479 |
482 void InspectorController::didCommitLoadForMainFrame() | 480 void InspectorController::didCommitLoadForMainFrame() |
483 { | 481 { |
484 m_agents.didCommitLoadForMainFrame(); | 482 m_agents.didCommitLoadForMainFrame(); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 m_layerTreeAgent->willAddPageOverlay(layer); | 526 m_layerTreeAgent->willAddPageOverlay(layer); |
529 } | 527 } |
530 | 528 |
531 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer) | 529 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer) |
532 { | 530 { |
533 if (m_layerTreeAgent) | 531 if (m_layerTreeAgent) |
534 m_layerTreeAgent->didRemovePageOverlay(layer); | 532 m_layerTreeAgent->didRemovePageOverlay(layer); |
535 } | 533 } |
536 | 534 |
537 } // namespace blink | 535 } // namespace blink |
OLD | NEW |