| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2012 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Google Inc. All rights reserved. | 3 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 explicit InspectorLayerTreeAgent(InspectedFrames*); | 93 explicit InspectorLayerTreeAgent(InspectedFrames*); |
| 94 | 94 |
| 95 GraphicsLayer* rootGraphicsLayer(); | 95 GraphicsLayer* rootGraphicsLayer(); |
| 96 | 96 |
| 97 PaintLayerCompositor* paintLayerCompositor(); | 97 PaintLayerCompositor* paintLayerCompositor(); |
| 98 GraphicsLayer* layerById(ErrorString*, const String& layerId); | 98 GraphicsLayer* layerById(ErrorString*, const String& layerId); |
| 99 const PictureSnapshot* snapshotById(ErrorString*, const String& snapshotId); | 99 const PictureSnapshot* snapshotById(ErrorString*, const String& snapshotId); |
| 100 | 100 |
| 101 typedef HashMap<int, int> LayerIdToNodeIdMap; | 101 typedef HashMap<int, int> LayerIdToNodeIdMap; |
| 102 void buildLayerIdToNodeIdMap(PaintLayer*, LayerIdToNodeIdMap&); | 102 void buildLayerIdToNodeIdMap(PaintLayer*, LayerIdToNodeIdMap&); |
| 103 void gatherGraphicsLayers(GraphicsLayer*, HashMap<int, int>& layerIdToNodeId
Map, RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer> >&); | 103 void gatherGraphicsLayers(GraphicsLayer*, HashMap<int, int>& layerIdToNodeId
Map, RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer>>&, int scrollingRo
otLayerId); |
| 104 int idForNode(Node*); | 104 int idForNode(Node*); |
| 105 | 105 |
| 106 RawPtrWillBeMember<InspectedFrames> m_inspectedFrames; | 106 RawPtrWillBeMember<InspectedFrames> m_inspectedFrames; |
| 107 Vector<int, 2> m_pageOverlayLayerIds; | 107 Vector<int, 2> m_pageOverlayLayerIds; |
| 108 | 108 |
| 109 typedef HashMap<String, RefPtr<PictureSnapshot> > SnapshotById; | 109 typedef HashMap<String, RefPtr<PictureSnapshot> > SnapshotById; |
| 110 SnapshotById m_snapshotById; | 110 SnapshotById m_snapshotById; |
| 111 }; | 111 }; |
| 112 | 112 |
| 113 } // namespace blink | 113 } // namespace blink |
| 114 | 114 |
| 115 | 115 |
| 116 #endif // !defined(InspectorLayerTreeAgent_h) | 116 #endif // !defined(InspectorLayerTreeAgent_h) |
| OLD | NEW |