| 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 12 matching lines...) Expand all Loading... |
| 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef WebLayer_h | 26 #ifndef WebLayer_h |
| 27 #define WebLayer_h | 27 #define WebLayer_h |
| 28 | 28 |
| 29 #include "WebBlendMode.h" | 29 #include "WebBlendMode.h" |
| 30 #include "WebColor.h" | 30 #include "WebColor.h" |
| 31 #include "WebCommon.h" | 31 #include "WebCommon.h" |
| 32 #include "WebCompositorAnimation.h" | 32 #include "WebCompositorAnimation.h" |
| 33 #include "WebDisplayItemTransformTree.h" |
| 34 #include "WebDisplayList.h" |
| 33 #include "WebDoublePoint.h" | 35 #include "WebDoublePoint.h" |
| 34 #include "WebFloatPoint3D.h" | 36 #include "WebFloatPoint3D.h" |
| 35 #include "WebPoint.h" | 37 #include "WebPoint.h" |
| 36 #include "WebRect.h" | 38 #include "WebRect.h" |
| 37 #include "WebScrollBlocksOn.h" | 39 #include "WebScrollBlocksOn.h" |
| 38 #include "WebSize.h" | 40 #include "WebSize.h" |
| 39 #include "WebString.h" | 41 #include "WebString.h" |
| 40 #include "WebVector.h" | 42 #include "WebVector.h" |
| 41 | 43 |
| 42 class SkMatrix44; | 44 class SkMatrix44; |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 virtual void setScrollClient(WebLayerScrollClient*) = 0; | 226 virtual void setScrollClient(WebLayerScrollClient*) = 0; |
| 225 | 227 |
| 226 // Forces this layer to use a render surface. There is no benefit in doing | 228 // Forces this layer to use a render surface. There is no benefit in doing |
| 227 // so, but this is to facilitate benchmarks and tests. | 229 // so, but this is to facilitate benchmarks and tests. |
| 228 virtual void setForceRenderSurface(bool) = 0; | 230 virtual void setForceRenderSurface(bool) = 0; |
| 229 | 231 |
| 230 // True if the layer is not part of a tree attached to a WebLayerTreeView. | 232 // True if the layer is not part of a tree attached to a WebLayerTreeView. |
| 231 virtual bool isOrphan() const = 0; | 233 virtual bool isOrphan() const = 0; |
| 232 | 234 |
| 233 virtual void setWebLayerClient(WebLayerClient*) = 0; | 235 virtual void setWebLayerClient(WebLayerClient*) = 0; |
| 236 |
| 237 virtual const WebDisplayList* displayList() { return 0; }; |
| 238 |
| 239 // This is only set on a root graphics layer. |
| 240 virtual const WebDisplayItemTransformTree* transformTree() { return 0; }; |
| 234 }; | 241 }; |
| 235 | 242 |
| 236 } // namespace blink | 243 } // namespace blink |
| 237 | 244 |
| 238 #endif // WebLayer_h | 245 #endif // WebLayer_h |
| OLD | NEW |