| 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/trees/element_id.h" | 8 #include "cc/trees/element_id.h" |
| 9 #include "platform/PlatformExport.h" |
| 9 | 10 |
| 10 namespace blink { | 11 namespace blink { |
| 11 | 12 |
| 12 // A CC client-provided id to attach effects like animation to an | 13 // A CC client-provided id to attach effects like animation to an |
| 13 // abstract element (a group of layers or property tree nodes). Must be unique. | 14 // abstract element (a group of layers or property tree nodes). Must be unique. |
| 14 using CompositorElementId = cc::ElementId; | 15 using CompositorElementId = cc::ElementId; |
| 15 | 16 |
| 17 PLATFORM_EXPORT CompositorElementId nextCompositorElementId(); |
| 18 |
| 16 } // namespace blink | 19 } // namespace blink |
| 17 | 20 |
| 18 #endif // CompositorElementId_h | 21 #endif // CompositorElementId_h |
| OLD | NEW |