| 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 virtual void setScrollClient(WebLayerScrollClient*) = 0; | 228 virtual void setScrollClient(WebLayerScrollClient*) = 0; |
| 229 | 229 |
| 230 // Forces this layer to use a render surface. There is no benefit in doing | 230 // Forces this layer to use a render surface. There is no benefit in doing |
| 231 // so, but this is to facilitate benchmarks and tests. | 231 // so, but this is to facilitate benchmarks and tests. |
| 232 virtual void setForceRenderSurface(bool) = 0; | 232 virtual void setForceRenderSurface(bool) = 0; |
| 233 | 233 |
| 234 // True if the layer is not part of a tree attached to a WebLayerTreeView. | 234 // True if the layer is not part of a tree attached to a WebLayerTreeView. |
| 235 virtual bool isOrphan() const = 0; | 235 virtual bool isOrphan() const = 0; |
| 236 | 236 |
| 237 virtual void setWebLayerClient(WebLayerClient*) = 0; | 237 virtual void setWebLayerClient(WebLayerClient*) = 0; |
| 238 |
| 239 virtual void setElementId(uint64_t) = 0; |
| 240 virtual uint64_t elementId() const = 0; |
| 241 |
| 242 virtual void setMutableProperties(uint32_t) = 0; |
| 243 virtual uint32_t mutableProperties() const = 0; |
| 238 }; | 244 }; |
| 239 | 245 |
| 240 } // namespace blink | 246 } // namespace blink |
| 241 | 247 |
| 242 #endif // WebLayer_h | 248 #endif // WebLayer_h |
| OLD | NEW |