| 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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 debuggerAgent->resume(&error); | 444 debuggerAgent->resume(&error); |
| 445 } | 445 } |
| 446 } | 446 } |
| 447 | 447 |
| 448 void InspectorController::setResourcesDataSizeLimitsFromInternals(int maximumRes
ourcesContentSize, int maximumSingleResourceContentSize) | 448 void InspectorController::setResourcesDataSizeLimitsFromInternals(int maximumRes
ourcesContentSize, int maximumSingleResourceContentSize) |
| 449 { | 449 { |
| 450 if (m_resourceAgent) | 450 if (m_resourceAgent) |
| 451 m_resourceAgent->setResourcesDataSizeLimitsFromInternals(maximumResource
sContentSize, maximumSingleResourceContentSize); | 451 m_resourceAgent->setResourcesDataSizeLimitsFromInternals(maximumResource
sContentSize, maximumSingleResourceContentSize); |
| 452 } | 452 } |
| 453 | 453 |
| 454 PassRefPtr<JSONObject> InspectorController::highlightJSONForNode(Node* node) |
| 455 { |
| 456 return m_overlay->highlightJSONForNode(node); |
| 457 } |
| 458 |
| 454 void InspectorController::willProcessTask() | 459 void InspectorController::willProcessTask() |
| 455 { | 460 { |
| 456 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector
TimelineAgent()) | 461 if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspector
TimelineAgent()) |
| 457 timelineAgent->willProcessTask(); | 462 timelineAgent->willProcessTask(); |
| 458 if (InspectorProfilerAgent* profilerAgent = m_instrumentingAgents->inspector
ProfilerAgent()) | 463 if (InspectorProfilerAgent* profilerAgent = m_instrumentingAgents->inspector
ProfilerAgent()) |
| 459 profilerAgent->willProcessTask(); | 464 profilerAgent->willProcessTask(); |
| 460 } | 465 } |
| 461 | 466 |
| 462 void InspectorController::didProcessTask() | 467 void InspectorController::didProcessTask() |
| 463 { | 468 { |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 m_layerTreeAgent->willAddPageOverlay(layer); | 528 m_layerTreeAgent->willAddPageOverlay(layer); |
| 524 } | 529 } |
| 525 | 530 |
| 526 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer) | 531 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer) |
| 527 { | 532 { |
| 528 if (m_layerTreeAgent) | 533 if (m_layerTreeAgent) |
| 529 m_layerTreeAgent->didRemovePageOverlay(layer); | 534 m_layerTreeAgent->didRemovePageOverlay(layer); |
| 530 } | 535 } |
| 531 | 536 |
| 532 } // namespace blink | 537 } // namespace blink |
| OLD | NEW |