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

Unified Diff: third_party/WebKit/Source/platform/graphics/CompositorElementId.h

Issue 1922393002: CC Animation: Unify ElementId in Blink Compositor Worker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@player
Patch Set: Remove NextElementId. 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/graphics/CompositorElementId.h
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorElementId.h b/third_party/WebKit/Source/platform/graphics/CompositorElementId.h
new file mode 100644
index 0000000000000000000000000000000000000000..63367e2c7ee5013477242fecc586daf6ee0c1689
--- /dev/null
+++ b/third_party/WebKit/Source/platform/graphics/CompositorElementId.h
@@ -0,0 +1,18 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CompositorElementId_h
+#define CompositorElementId_h
+
+#include "cc/trees/element_id.h"
+
+namespace blink {
+
+// A CC client-provided id to attach effects like animation to an
+// abstract element (a group of layers or property tree nodes). Must be unique.
+using CompositorElementId = cc::ElementId;
+
+} // namespace blink
+
+#endif // CompositorElementId_h

Powered by Google App Engine
This is Rietveld 408576698