OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CompositorIdToElementMap_h |
| 6 #define CompositorIdToElementMap_h |
| 7 |
| 8 #include "core/CoreExport.h" |
| 9 #include "platform/graphics/CompositorElementId.h" |
| 10 #include "wtf/Allocator.h" |
| 11 |
| 12 namespace blink { |
| 13 |
| 14 class Element; |
| 15 |
| 16 class CORE_EXPORT CompositorIdToElementMap { |
| 17 STATIC_ONLY(CompositorIdToElementMap); |
| 18 public: |
| 19 static void registerElement(Element&); |
| 20 static Element* getById(CompositorElementId); |
| 21 }; |
| 22 |
| 23 } // namespace blink |
| 24 |
| 25 |
| 26 #endif // DOMNodeIds_h |
OLD | NEW |