| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 SKY_VIEWER_CC_WEB_LAYER_IMPL_H_ | 5 #ifndef SKY_VIEWER_CC_WEB_LAYER_IMPL_H_ |
| 6 #define SKY_VIEWER_CC_WEB_LAYER_IMPL_H_ | 6 #define SKY_VIEWER_CC_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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 virtual void setBounds(const blink::WebSize& bounds); | 69 virtual void setBounds(const blink::WebSize& bounds); |
| 70 virtual blink::WebSize bounds() const; | 70 virtual blink::WebSize bounds() const; |
| 71 virtual void setMasksToBounds(bool masks_to_bounds); | 71 virtual void setMasksToBounds(bool masks_to_bounds); |
| 72 virtual bool masksToBounds() const; | 72 virtual bool masksToBounds() const; |
| 73 virtual void setMaskLayer(blink::WebLayer* mask); | 73 virtual void setMaskLayer(blink::WebLayer* mask); |
| 74 virtual void setReplicaLayer(blink::WebLayer* replica); | 74 virtual void setReplicaLayer(blink::WebLayer* replica); |
| 75 virtual void setOpacity(float opacity); | 75 virtual void setOpacity(float opacity); |
| 76 virtual float opacity() const; | 76 virtual float opacity() const; |
| 77 virtual void setBlendMode(blink::WebBlendMode blend_mode); | 77 virtual void setBlendMode(blink::WebBlendMode blend_mode); |
| 78 virtual blink::WebBlendMode blendMode() const; | 78 virtual blink::WebBlendMode blendMode() const; |
| 79 virtual void setIsRootForIsolatedGroup(bool root); | |
| 80 virtual bool isRootForIsolatedGroup(); | |
| 81 virtual void setOpaque(bool opaque); | 79 virtual void setOpaque(bool opaque); |
| 82 virtual bool opaque() const; | 80 virtual bool opaque() const; |
| 83 virtual void setPosition(const blink::WebFloatPoint& position); | 81 virtual void setPosition(const blink::WebFloatPoint& position); |
| 84 virtual blink::WebFloatPoint position() const; | 82 virtual blink::WebFloatPoint position() const; |
| 85 virtual void setTransform(const SkMatrix44& transform); | 83 virtual void setTransform(const SkMatrix44& transform); |
| 86 virtual void setTransformOrigin(const blink::WebFloatPoint3D& point); | 84 virtual void setTransformOrigin(const blink::WebFloatPoint3D& point); |
| 87 virtual blink::WebFloatPoint3D transformOrigin() const; | 85 virtual blink::WebFloatPoint3D transformOrigin() const; |
| 88 virtual SkMatrix44 transform() const; | 86 virtual SkMatrix44 transform() const; |
| 89 virtual void setDrawsContent(bool draws_content); | 87 virtual void setDrawsContent(bool draws_content); |
| 90 virtual bool drawsContent() const; | 88 virtual bool drawsContent() const; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 | 122 |
| 125 private: | 123 private: |
| 126 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; | 124 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; |
| 127 | 125 |
| 128 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 126 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
| 129 }; | 127 }; |
| 130 | 128 |
| 131 } // namespace sky_viewer_cc | 129 } // namespace sky_viewer_cc |
| 132 | 130 |
| 133 #endif // SKY_VIEWER_CC_WEB_LAYER_IMPL_H_ | 131 #endif // SKY_VIEWER_CC_WEB_LAYER_IMPL_H_ |
| OLD | NEW |