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