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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
224 virtual void setScrollClient(WebLayerScrollClient*) = 0; | 224 virtual void setScrollClient(WebLayerScrollClient*) = 0; |
225 | 225 |
226 // Forces this layer to use a render surface. There is no benefit in doing | 226 // Forces this layer to use a render surface. There is no benefit in doing |
227 // so, but this is to facilitate benchmarks and tests. | 227 // so, but this is to facilitate benchmarks and tests. |
228 virtual void setForceRenderSurface(bool) = 0; | 228 virtual void setForceRenderSurface(bool) = 0; |
229 | 229 |
230 // True if the layer is not part of a tree attached to a WebLayerTreeView. | 230 // True if the layer is not part of a tree attached to a WebLayerTreeView. |
231 virtual bool isOrphan() const = 0; | 231 virtual bool isOrphan() const = 0; |
232 | 232 |
233 virtual void setWebLayerClient(WebLayerClient*) = 0; | 233 virtual void setWebLayerClient(WebLayerClient*) = 0; |
234 | |
235 // TODO(dtapuska): Make pure virtual once cc side has landed crbug.com/39892 0. | |
236 virtual void setHitCacheRect(const WebRect&) { }; | |
esprehn
2015/06/12 05:09:30
I'd probably call this HitTestCache since that's a
dtapuska
2015/06/12 15:30:38
Done.
| |
234 }; | 237 }; |
235 | 238 |
236 } // namespace blink | 239 } // namespace blink |
237 | 240 |
238 #endif // WebLayer_h | 241 #endif // WebLayer_h |
OLD | NEW |