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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 { | 270 { |
271 IdentifiersFactory::setProcessId(processId); | 271 IdentifiersFactory::setProcessId(processId); |
272 } | 272 } |
273 | 273 |
274 void InspectorController::setLayerTreeId(int id) | 274 void InspectorController::setLayerTreeId(int id) |
275 { | 275 { |
276 m_timelineAgent->setLayerTreeId(id); | 276 m_timelineAgent->setLayerTreeId(id); |
277 m_tracingAgent->setLayerTreeId(id); | 277 m_tracingAgent->setLayerTreeId(id); |
278 } | 278 } |
279 | 279 |
280 void InspectorController::webViewResized(const IntSize& size) | |
281 { | |
282 if (InspectorPageAgent* pageAgent = m_instrumentingAgents->inspectorPageAgen
t()) | |
283 pageAgent->webViewResized(size); | |
284 } | |
285 | |
286 bool InspectorController::isUnderTest() | 280 bool InspectorController::isUnderTest() |
287 { | 281 { |
288 return m_isUnderTest; | 282 return m_isUnderTest; |
289 } | 283 } |
290 | 284 |
291 void InspectorController::evaluateForTestInFrontend(long callId, const String& s
cript) | 285 void InspectorController::evaluateForTestInFrontend(long callId, const String& s
cript) |
292 { | 286 { |
293 m_isUnderTest = true; | 287 m_isUnderTest = true; |
294 if (InspectorInspectorAgent* inspectorAgent = m_instrumentingAgents->inspect
orInspectorAgent()) | 288 if (InspectorInspectorAgent* inspectorAgent = m_instrumentingAgents->inspect
orInspectorAgent()) |
295 inspectorAgent->evaluateForTestInFrontend(callId, script); | 289 inspectorAgent->evaluateForTestInFrontend(callId, script); |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 m_layerTreeAgent->willAddPageOverlay(layer); | 468 m_layerTreeAgent->willAddPageOverlay(layer); |
475 } | 469 } |
476 | 470 |
477 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer) | 471 void InspectorController::didRemovePageOverlay(const GraphicsLayer* layer) |
478 { | 472 { |
479 if (m_layerTreeAgent) | 473 if (m_layerTreeAgent) |
480 m_layerTreeAgent->didRemovePageOverlay(layer); | 474 m_layerTreeAgent->didRemovePageOverlay(layer); |
481 } | 475 } |
482 | 476 |
483 } // namespace WebCore | 477 } // namespace WebCore |
OLD | NEW |