| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2012 Apple 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 26 matching lines...) Expand all Loading... |
| 37 #include "core/inspector/IdentifiersFactory.h" | 37 #include "core/inspector/IdentifiersFactory.h" |
| 38 #include "core/inspector/InspectorDOMAgent.h" | 38 #include "core/inspector/InspectorDOMAgent.h" |
| 39 #include "core/inspector/InspectorState.h" | 39 #include "core/inspector/InspectorState.h" |
| 40 #include "core/inspector/InstrumentingAgents.h" | 40 #include "core/inspector/InstrumentingAgents.h" |
| 41 #include "core/loader/DocumentLoader.h" | 41 #include "core/loader/DocumentLoader.h" |
| 42 #include "core/page/Page.h" | 42 #include "core/page/Page.h" |
| 43 #include "core/platform/graphics/IntRect.h" | 43 #include "core/platform/graphics/IntRect.h" |
| 44 #include "core/rendering/RenderLayer.h" | 44 #include "core/rendering/RenderLayer.h" |
| 45 #include "core/rendering/RenderLayerBacking.h" | 45 #include "core/rendering/RenderLayerBacking.h" |
| 46 #include "core/rendering/RenderLayerCompositor.h" | 46 #include "core/rendering/RenderLayerCompositor.h" |
| 47 #include "core/rendering/RenderView.h" | |
| 48 | 47 |
| 49 namespace WebCore { | 48 namespace WebCore { |
| 50 | 49 |
| 51 namespace LayerTreeAgentState { | 50 namespace LayerTreeAgentState { |
| 52 static const char layerTreeAgentEnabled[] = "layerTreeAgentEnabled"; | 51 static const char layerTreeAgentEnabled[] = "layerTreeAgentEnabled"; |
| 53 }; | 52 }; |
| 54 | 53 |
| 55 InspectorLayerTreeAgent::InspectorLayerTreeAgent(InstrumentingAgents* instrument
ingAgents, InspectorCompositeState* state) | 54 InspectorLayerTreeAgent::InspectorLayerTreeAgent(InstrumentingAgents* instrument
ingAgents, InspectorCompositeState* state) |
| 56 : InspectorBaseAgent<InspectorLayerTreeAgent>("LayerTree", instrumentingAgen
ts, state) | 55 : InspectorBaseAgent<InspectorLayerTreeAgent>("LayerTree", instrumentingAgen
ts, state) |
| 57 , m_frontend(0) | 56 , m_frontend(0) |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 void InspectorLayerTreeAgent::unbindPseudoElement(PseudoElement* pseudoElement) | 351 void InspectorLayerTreeAgent::unbindPseudoElement(PseudoElement* pseudoElement) |
| 353 { | 352 { |
| 354 HashMap<PseudoElement*, String>::iterator iterator = m_pseudoElementToIdMap.
find(pseudoElement); | 353 HashMap<PseudoElement*, String>::iterator iterator = m_pseudoElementToIdMap.
find(pseudoElement); |
| 355 if (iterator == m_pseudoElementToIdMap.end()) | 354 if (iterator == m_pseudoElementToIdMap.end()) |
| 356 return; | 355 return; |
| 357 m_idToPseudoElement.remove(iterator->value); | 356 m_idToPseudoElement.remove(iterator->value); |
| 358 m_pseudoElementToIdMap.remove(iterator); | 357 m_pseudoElementToIdMap.remove(iterator); |
| 359 } | 358 } |
| 360 | 359 |
| 361 } // namespace WebCore | 360 } // namespace WebCore |
| OLD | NEW |