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 26 matching lines...) Expand all Loading... |
37 #include "WebString.h" | 37 #include "WebString.h" |
38 #include "WebVector.h" | 38 #include "WebVector.h" |
39 | 39 |
40 class SkMatrix44; | 40 class SkMatrix44; |
41 class SkImageFilter; | 41 class SkImageFilter; |
42 | 42 |
43 namespace cc { | 43 namespace cc { |
44 class Layer; | 44 class Layer; |
45 class LayerClient; | 45 class LayerClient; |
46 class FilterOperations; | 46 class FilterOperations; |
| 47 struct ElementId; |
47 } | 48 } |
48 | 49 |
49 namespace blink { | 50 namespace blink { |
50 | 51 |
51 class WebLayerScrollClient; | 52 class WebLayerScrollClient; |
52 struct WebFloatPoint; | 53 struct WebFloatPoint; |
53 struct WebLayerPositionConstraint; | 54 struct WebLayerPositionConstraint; |
54 | 55 |
55 class WebLayer { | 56 class WebLayer { |
56 public: | 57 public: |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 // deleting the scroll client. | 191 // deleting the scroll client. |
191 virtual void setScrollClient(WebLayerScrollClient*) = 0; | 192 virtual void setScrollClient(WebLayerScrollClient*) = 0; |
192 | 193 |
193 // Sets the cc-side layer client. | 194 // Sets the cc-side layer client. |
194 virtual void setLayerClient(cc::LayerClient*) = 0; | 195 virtual void setLayerClient(cc::LayerClient*) = 0; |
195 | 196 |
196 // Gets the underlying cc layer. | 197 // Gets the underlying cc layer. |
197 virtual const cc::Layer* ccLayer() const = 0; | 198 virtual const cc::Layer* ccLayer() const = 0; |
198 virtual cc::Layer* ccLayer() = 0; | 199 virtual cc::Layer* ccLayer() = 0; |
199 | 200 |
200 virtual void setElementId(uint64_t) = 0; | 201 virtual void setElementId(const cc::ElementId&) = 0; |
201 virtual uint64_t elementId() const = 0; | 202 virtual cc::ElementId 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 virtual void setHasWillChangeTransformHint(bool) = 0; | 207 virtual void setHasWillChangeTransformHint(bool) = 0; |
207 }; | 208 }; |
208 | 209 |
209 } // namespace blink | 210 } // namespace blink |
210 | 211 |
211 #endif // WebLayer_h | 212 #endif // WebLayer_h |
OLD | NEW |