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; | |
48 } | 47 } |
49 | 48 |
50 namespace blink { | 49 namespace blink { |
51 | 50 |
52 class WebLayerScrollClient; | 51 class WebLayerScrollClient; |
53 struct WebFloatPoint; | 52 struct WebFloatPoint; |
54 struct WebLayerPositionConstraint; | 53 struct WebLayerPositionConstraint; |
55 | 54 |
56 class WebLayer { | 55 class WebLayer { |
57 public: | 56 public: |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 // deleting the scroll client. | 190 // deleting the scroll client. |
192 virtual void setScrollClient(WebLayerScrollClient*) = 0; | 191 virtual void setScrollClient(WebLayerScrollClient*) = 0; |
193 | 192 |
194 // Sets the cc-side layer client. | 193 // Sets the cc-side layer client. |
195 virtual void setLayerClient(cc::LayerClient*) = 0; | 194 virtual void setLayerClient(cc::LayerClient*) = 0; |
196 | 195 |
197 // Gets the underlying cc layer. | 196 // Gets the underlying cc layer. |
198 virtual const cc::Layer* ccLayer() const = 0; | 197 virtual const cc::Layer* ccLayer() const = 0; |
199 virtual cc::Layer* ccLayer() = 0; | 198 virtual cc::Layer* ccLayer() = 0; |
200 | 199 |
201 virtual void setElementId(const cc::ElementId&) = 0; | 200 virtual void setElementId(uint64_t) = 0; |
202 virtual cc::ElementId elementId() const = 0; | 201 virtual uint64_t elementId() const = 0; |
203 | 202 |
204 virtual void setCompositorMutableProperties(uint32_t) = 0; | 203 virtual void setCompositorMutableProperties(uint32_t) = 0; |
205 virtual uint32_t compositorMutableProperties() const = 0; | 204 virtual uint32_t compositorMutableProperties() const = 0; |
206 | 205 |
207 virtual void setHasWillChangeTransformHint(bool) = 0; | 206 virtual void setHasWillChangeTransformHint(bool) = 0; |
208 }; | 207 }; |
209 | 208 |
210 } // namespace blink | 209 } // namespace blink |
211 | 210 |
212 #endif // WebLayer_h | 211 #endif // WebLayer_h |
OLD | NEW |