OLD | NEW |
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 Loading... |
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 |
OLD | NEW |