| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 77 |
| 78 virtual void setMaskLayer(WebLayer*) = 0; | 78 virtual void setMaskLayer(WebLayer*) = 0; |
| 79 virtual void setReplicaLayer(WebLayer*) = 0; | 79 virtual void setReplicaLayer(WebLayer*) = 0; |
| 80 | 80 |
| 81 virtual void setOpacity(float) = 0; | 81 virtual void setOpacity(float) = 0; |
| 82 virtual float opacity() const = 0; | 82 virtual float opacity() const = 0; |
| 83 | 83 |
| 84 virtual void setBlendMode(WebBlendMode) = 0; | 84 virtual void setBlendMode(WebBlendMode) = 0; |
| 85 virtual WebBlendMode blendMode() const = 0; | 85 virtual WebBlendMode blendMode() const = 0; |
| 86 | 86 |
| 87 virtual void setIsRootForIsolatedGroup(bool) = 0; | |
| 88 virtual bool isRootForIsolatedGroup() = 0; | |
| 89 | |
| 90 virtual void setOpaque(bool) = 0; | 87 virtual void setOpaque(bool) = 0; |
| 91 virtual bool opaque() const = 0; | 88 virtual bool opaque() const = 0; |
| 92 | 89 |
| 93 virtual void setPosition(const WebFloatPoint&) = 0; | 90 virtual void setPosition(const WebFloatPoint&) = 0; |
| 94 virtual WebFloatPoint position() const = 0; | 91 virtual WebFloatPoint position() const = 0; |
| 95 | 92 |
| 96 virtual void setTransform(const SkMatrix44&) = 0; | 93 virtual void setTransform(const SkMatrix44&) = 0; |
| 97 virtual SkMatrix44 transform() const = 0; | 94 virtual SkMatrix44 transform() const = 0; |
| 98 | 95 |
| 99 virtual void setTransformOrigin(const WebFloatPoint3D&) { } | 96 virtual void setTransformOrigin(const WebFloatPoint3D&) { } |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 | 177 |
| 181 // True if the layer is not part of a tree attached to a WebLayerTreeView. | 178 // True if the layer is not part of a tree attached to a WebLayerTreeView. |
| 182 virtual bool isOrphan() const = 0; | 179 virtual bool isOrphan() const = 0; |
| 183 | 180 |
| 184 virtual void setWebLayerClient(WebLayerClient*) = 0; | 181 virtual void setWebLayerClient(WebLayerClient*) = 0; |
| 185 }; | 182 }; |
| 186 | 183 |
| 187 } // namespace blink | 184 } // namespace blink |
| 188 | 185 |
| 189 #endif // WebLayer_h | 186 #endif // WebLayer_h |
| OLD | NEW |