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

Side by Side Diff: third_party/WebKit/public/platform/WebLayer.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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/web/tests/CompositorWorkerTest.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 // deleting the scroll client. 190 // deleting the scroll client.
191 virtual void setScrollClient(WebLayerScrollClient*) = 0; 191 virtual void setScrollClient(WebLayerScrollClient*) = 0;
192 192
193 // Sets the cc-side layer client. 193 // Sets the cc-side layer client.
194 virtual void setLayerClient(cc::LayerClient*) = 0; 194 virtual void setLayerClient(cc::LayerClient*) = 0;
195 195
196 // Gets the underlying cc layer. 196 // Gets the underlying cc layer.
197 virtual const cc::Layer* ccLayer() const = 0; 197 virtual const cc::Layer* ccLayer() const = 0;
198 virtual cc::Layer* ccLayer() = 0; 198 virtual cc::Layer* ccLayer() = 0;
199 199
200 virtual void setElementId(uint64_t) = 0; 200 // TODO(loyso): These must be CompositorElementId instead of int.
201 virtual uint64_t elementId() const = 0; 201 virtual void setElementId(int) = 0;
202 virtual int elementId() const = 0;
202 203
203 virtual void setCompositorMutableProperties(uint32_t) = 0; 204 virtual void setCompositorMutableProperties(uint32_t) = 0;
204 virtual uint32_t compositorMutableProperties() const = 0; 205 virtual uint32_t compositorMutableProperties() const = 0;
205 }; 206 };
206 207
207 } // namespace blink 208 } // namespace blink
208 209
209 #endif // WebLayer_h 210 #endif // WebLayer_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/CompositorWorkerTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698