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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 void InspectorController::didProcessTask() | 421 void InspectorController::didProcessTask() |
422 { | 422 { |
423 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector
TimelineAgent()) | 423 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector
TimelineAgent()) |
424 timelineAgent->didProcessTask(); | 424 timelineAgent->didProcessTask(); |
425 if (InspectorProfilerAgent* profilerAgent = m_instrumentingAgents->inspector
ProfilerAgent()) | 425 if (InspectorProfilerAgent* profilerAgent = m_instrumentingAgents->inspector
ProfilerAgent()) |
426 profilerAgent->didProcessTask(); | 426 profilerAgent->didProcessTask(); |
427 if (InspectorDOMDebuggerAgent* domDebuggerAgent = m_instrumentingAgents->ins
pectorDOMDebuggerAgent()) | 427 if (InspectorDOMDebuggerAgent* domDebuggerAgent = m_instrumentingAgents->ins
pectorDOMDebuggerAgent()) |
428 domDebuggerAgent->didProcessTask(); | 428 domDebuggerAgent->didProcessTask(); |
429 } | 429 } |
430 | 430 |
431 void InspectorController::flushPendingFrontendMessages() | |
432 { | |
433 m_agents.flushPendingFrontendMessages(); | |
434 } | |
435 | |
436 void InspectorController::didCommitLoadForMainFrame() | 431 void InspectorController::didCommitLoadForMainFrame() |
437 { | 432 { |
438 Vector<InspectorAgent*> agents = m_moduleAgents; | 433 Vector<InspectorAgent*> agents = m_moduleAgents; |
439 for (size_t i = 0; i < agents.size(); i++) | 434 for (size_t i = 0; i < agents.size(); i++) |
440 agents[i]->didCommitLoadForMainFrame(); | 435 agents[i]->didCommitLoadForMainFrame(); |
441 } | 436 } |
442 | 437 |
443 void InspectorController::didBeginFrame(int frameId) | 438 void InspectorController::didBeginFrame(int frameId) |
444 { | 439 { |
445 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector
TimelineAgent()) | 440 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector
TimelineAgent()) |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 m_layerTreeAgent->willAddPageOverlay(layer); | 479 m_layerTreeAgent->willAddPageOverlay(layer); |
485 } | 480 } |
486 | 481 |
487 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer) | 482 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer) |
488 { | 483 { |
489 if (m_layerTreeAgent) | 484 if (m_layerTreeAgent) |
490 m_layerTreeAgent->didRemovePageOverlay(layer); | 485 m_layerTreeAgent->didRemovePageOverlay(layer); |
491 } | 486 } |
492 | 487 |
493 } // namespace WebCore | 488 } // namespace WebCore |
OLD | NEW |