| 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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector
TimelineAgent()) | 434 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector
TimelineAgent()) |
| 435 timelineAgent->willComposite(); | 435 timelineAgent->willComposite(); |
| 436 } | 436 } |
| 437 | 437 |
| 438 void InspectorController::didComposite() | 438 void InspectorController::didComposite() |
| 439 { | 439 { |
| 440 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector
TimelineAgent()) | 440 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector
TimelineAgent()) |
| 441 timelineAgent->didComposite(); | 441 timelineAgent->didComposite(); |
| 442 } | 442 } |
| 443 | 443 |
| 444 void InspectorController::willUpdateLayer(int layerId) |
| 445 { |
| 446 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector
TimelineAgent()) |
| 447 timelineAgent->willUpdateLayer(layerId); |
| 448 } |
| 449 |
| 450 void InspectorController::didUpdateLayer() |
| 451 { |
| 452 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector
TimelineAgent()) |
| 453 timelineAgent->didUpdateLayer(); |
| 454 } |
| 455 |
| 444 HashMap<String, size_t> InspectorController::processMemoryDistribution() const | 456 HashMap<String, size_t> InspectorController::processMemoryDistribution() const |
| 445 { | 457 { |
| 446 HashMap<String, size_t> memoryInfo; | 458 HashMap<String, size_t> memoryInfo; |
| 447 m_memoryAgent->getProcessMemoryDistributionMap(&memoryInfo); | 459 m_memoryAgent->getProcessMemoryDistributionMap(&memoryInfo); |
| 448 return memoryInfo; | 460 return memoryInfo; |
| 449 } | 461 } |
| 450 | 462 |
| 451 } // namespace WebCore | 463 } // namespace WebCore |
| OLD | NEW |