Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(693)

Side by Side Diff: third_party/WebKit/Source/platform/graphics/CompositorElementId.h

Issue 1944623002: CC Animation: Use ElementId to attach CC animation players. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@erasedomids
Patch Set: Let CC clients generate their own ElementIds locally. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698