| 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 */ | 27 */ |
| 28 | 28 |
| 29 #ifndef InspectorLayerTreeAgent_h | 29 #ifndef InspectorLayerTreeAgent_h |
| 30 #define InspectorLayerTreeAgent_h | 30 #define InspectorLayerTreeAgent_h |
| 31 | 31 |
| 32 | 32 |
| 33 #include "InspectorFrontend.h" | 33 #include "InspectorFrontend.h" |
| 34 #include "InspectorTypeBuilder.h" | 34 #include "InspectorTypeBuilder.h" |
| 35 #include "core/inspector/InspectorBaseAgent.h" | 35 #include "core/inspector/InspectorBaseAgent.h" |
| 36 #include "core/rendering/RenderLayer.h" | 36 #include "core/rendering/RenderLayer.h" |
| 37 #include <wtf/PassOwnPtr.h> | 37 #include "wtf/PassOwnPtr.h" |
| 38 #include <wtf/PassRefPtr.h> | 38 #include "wtf/PassRefPtr.h" |
| 39 #include <wtf/text/WTFString.h> | 39 #include "wtf/text/WTFString.h" |
| 40 #include <wtf/Vector.h> | |
| 41 | 40 |
| 42 namespace WebCore { | 41 namespace WebCore { |
| 43 | 42 |
| 44 class InspectorState; | 43 class InspectorState; |
| 45 class InstrumentingAgents; | 44 class InstrumentingAgents; |
| 46 | 45 |
| 47 typedef String ErrorString; | 46 typedef String ErrorString; |
| 48 | 47 |
| 49 class InspectorLayerTreeAgent : public InspectorBaseAgent<InspectorLayerTreeAgen
t>, public InspectorBackendDispatcher::LayerTreeCommandHandler { | 48 class InspectorLayerTreeAgent : public InspectorBaseAgent<InspectorLayerTreeAgen
t>, public InspectorBackendDispatcher::LayerTreeCommandHandler { |
| 50 public: | 49 public: |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 HashMap<String, const RenderLayer*> m_idToLayer; | 93 HashMap<String, const RenderLayer*> m_idToLayer; |
| 95 | 94 |
| 96 HashMap<PseudoElement*, String> m_pseudoElementToIdMap; | 95 HashMap<PseudoElement*, String> m_pseudoElementToIdMap; |
| 97 HashMap<String, PseudoElement*> m_idToPseudoElement; | 96 HashMap<String, PseudoElement*> m_idToPseudoElement; |
| 98 }; | 97 }; |
| 99 | 98 |
| 100 } // namespace WebCore | 99 } // namespace WebCore |
| 101 | 100 |
| 102 | 101 |
| 103 #endif // !defined(InspectorLayerTreeAgent_h) | 102 #endif // !defined(InspectorLayerTreeAgent_h) |
| OLD | NEW |