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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 virtual const cc::Layer* ccLayer() const = 0; | 212 virtual const cc::Layer* ccLayer() const = 0; |
213 virtual cc::Layer* ccLayer() = 0; | 213 virtual cc::Layer* ccLayer() = 0; |
214 | 214 |
215 virtual void setElementId(const cc::ElementId&) = 0; | 215 virtual void setElementId(const cc::ElementId&) = 0; |
216 virtual cc::ElementId elementId() const = 0; | 216 virtual cc::ElementId elementId() const = 0; |
217 | 217 |
218 virtual void setCompositorMutableProperties(uint32_t) = 0; | 218 virtual void setCompositorMutableProperties(uint32_t) = 0; |
219 virtual uint32_t compositorMutableProperties() const = 0; | 219 virtual uint32_t compositorMutableProperties() const = 0; |
220 | 220 |
221 virtual void setHasWillChangeTransformHint(bool) = 0; | 221 virtual void setHasWillChangeTransformHint(bool) = 0; |
222 virtual void setPreferredRasterScale(float) = 0; | 222 virtual void setPreferredRasterBounds(const WebSize&) = 0; |
223 virtual void clearPreferredRasterScale() = 0; | 223 virtual void clearPreferredRasterBounds() = 0; |
224 }; | 224 }; |
225 | 225 |
226 } // namespace blink | 226 } // namespace blink |
227 | 227 |
228 #endif // WebLayer_h | 228 #endif // WebLayer_h |
OLD | NEW |