| 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 #include "platform/PlatformExport.h" |
| 10 #include "wtf/HashFunctions.h" | 10 #include "platform/wtf/HashFunctions.h" |
| 11 #include "wtf/HashSet.h" | 11 #include "platform/wtf/HashSet.h" |
| 12 #include "wtf/HashTraits.h" | 12 #include "platform/wtf/HashTraits.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 enum class CompositorSubElementId { | 16 enum class CompositorSubElementId { |
| 17 kPrimary, | 17 kPrimary, |
| 18 kScroll, | 18 kScroll, |
| 19 kViewport, | 19 kViewport, |
| 20 kLinkHighlight | 20 kLinkHighlight |
| 21 }; | 21 }; |
| 22 | 22 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 50 } | 50 } |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 using CompositorElementIdSet = HashSet<CompositorElementId, | 53 using CompositorElementIdSet = HashSet<CompositorElementId, |
| 54 CompositorElementIdHash, | 54 CompositorElementIdHash, |
| 55 CompositorElementIdHashTraits>; | 55 CompositorElementIdHashTraits>; |
| 56 | 56 |
| 57 } // namespace blink | 57 } // namespace blink |
| 58 | 58 |
| 59 #endif // CompositorElementId_h | 59 #endif // CompositorElementId_h |
| OLD | NEW |