Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(659)

Side by Side Diff: webkit/renderer/compositor_bindings/web_layer_impl.h

Issue 66263003: Renderer-compositor bindings for mix-blend-mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: extra checks for skia-blink blendMode conversions Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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();
73 virtual void setOpaque(bool opaque); 77 virtual void setOpaque(bool opaque);
74 virtual bool opaque() const; 78 virtual bool opaque() const;
75 virtual void setPosition(const blink::WebFloatPoint& position); 79 virtual void setPosition(const blink::WebFloatPoint& position);
76 virtual blink::WebFloatPoint position() const; 80 virtual blink::WebFloatPoint position() const;
77 virtual void setSublayerTransform(const SkMatrix44&); 81 virtual void setSublayerTransform(const SkMatrix44&);
78 virtual SkMatrix44 sublayerTransform() const; 82 virtual SkMatrix44 sublayerTransform() const;
79 virtual void setTransform(const SkMatrix44& transform); 83 virtual void setTransform(const SkMatrix44& transform);
80 virtual SkMatrix44 transform() const; 84 virtual SkMatrix44 transform() const;
81 virtual void setDrawsContent(bool draws_content); 85 virtual void setDrawsContent(bool draws_content);
82 virtual bool drawsContent() const; 86 virtual bool drawsContent() const;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 139
136 private: 140 private:
137 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; 141 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_;
138 142
139 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); 143 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl);
140 }; 144 };
141 145
142 } // namespace webkit 146 } // namespace webkit
143 147
144 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ 148 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/renderer/compositor_bindings/web_compositing_reasons.cc ('k') | webkit/renderer/compositor_bindings/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698