OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ | 5 #ifndef WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ |
6 #define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ | 6 #define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 virtual void setAnchorPointZ(float anchor_point_z); | 63 virtual void setAnchorPointZ(float anchor_point_z); |
64 virtual float anchorPointZ() const; | 64 virtual float anchorPointZ() const; |
65 virtual void setBounds(const blink::WebSize& bounds); | 65 virtual void setBounds(const blink::WebSize& bounds); |
66 virtual blink::WebSize bounds() const; | 66 virtual blink::WebSize bounds() const; |
67 virtual void setMasksToBounds(bool masks_to_bounds); | 67 virtual void setMasksToBounds(bool masks_to_bounds); |
68 virtual bool masksToBounds() const; | 68 virtual bool masksToBounds() const; |
69 virtual void setMaskLayer(blink::WebLayer* mask); | 69 virtual void setMaskLayer(blink::WebLayer* mask); |
70 virtual void setReplicaLayer(blink::WebLayer* replica); | 70 virtual void setReplicaLayer(blink::WebLayer* replica); |
71 virtual void setOpacity(float opacity); | 71 virtual void setOpacity(float opacity); |
72 virtual float opacity() const; | 72 virtual float opacity() const; |
73 virtual void setBlendMode(blink::WebBlendMode blend_mode); | |
74 virtual blink::WebBlendMode blendMode() const; | |
75 virtual void setIsRootForIsolatedGroup(bool root); | |
76 virtual bool isRootForIsolatedGroup(); | |
77 virtual void setOpaque(bool opaque); | 73 virtual void setOpaque(bool opaque); |
78 virtual bool opaque() const; | 74 virtual bool opaque() const; |
79 virtual void setPosition(const blink::WebFloatPoint& position); | 75 virtual void setPosition(const blink::WebFloatPoint& position); |
80 virtual blink::WebFloatPoint position() const; | 76 virtual blink::WebFloatPoint position() const; |
81 virtual void setSublayerTransform(const SkMatrix44&); | 77 virtual void setSublayerTransform(const SkMatrix44&); |
82 virtual SkMatrix44 sublayerTransform() const; | 78 virtual SkMatrix44 sublayerTransform() const; |
83 virtual void setTransform(const SkMatrix44& transform); | 79 virtual void setTransform(const SkMatrix44& transform); |
84 virtual SkMatrix44 transform() const; | 80 virtual SkMatrix44 transform() const; |
85 virtual void setDrawsContent(bool draws_content); | 81 virtual void setDrawsContent(bool draws_content); |
86 virtual bool drawsContent() const; | 82 virtual bool drawsContent() const; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 135 |
140 private: | 136 private: |
141 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; | 137 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; |
142 | 138 |
143 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 139 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
144 }; | 140 }; |
145 | 141 |
146 } // namespace webkit | 142 } // namespace webkit |
147 | 143 |
148 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ | 144 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ |
OLD | NEW |