| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CompositorElementId_h | 5 #ifndef CompositorElementId_h |
| 6 #define CompositorElementId_h | 6 #define CompositorElementId_h |
| 7 | 7 |
| 8 #include "cc/animation/element_id.h" | 8 #include "cc/trees/element_id.h" |
| 9 #include "platform/PlatformExport.h" | 9 #include "platform/PlatformExport.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 enum class CompositorSubElementId { Primary, Scroll, Viewport, LinkHighlight }; | 13 enum class CompositorSubElementId { Primary, Scroll, Viewport, LinkHighlight }; |
| 14 | 14 |
| 15 using CompositorElementId = cc::ElementId; | 15 using CompositorElementId = cc::ElementId; |
| 16 | 16 |
| 17 CompositorElementId PLATFORM_EXPORT | 17 CompositorElementId PLATFORM_EXPORT |
| 18 createCompositorElementId(int domNodeId, CompositorSubElementId); | 18 createCompositorElementId(int domNodeId, CompositorSubElementId); |
| 19 | 19 |
| 20 } // namespace blink | 20 } // namespace blink |
| 21 | 21 |
| 22 #endif // CompositorElementId_h | 22 #endif // CompositorElementId_h |
| OLD | NEW |