Chromium Code Reviews| Index: content/renderer/pepper/pepper_plugin_instance_impl.h |
| diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.h b/content/renderer/pepper/pepper_plugin_instance_impl.h |
| index edc5dd28a26b269a66b18a21617c31de210d2232..5de481e322e8920707e4222e1d8242b44dba5a60 100644 |
| --- a/content/renderer/pepper/pepper_plugin_instance_impl.h |
| +++ b/content/renderer/pepper/pepper_plugin_instance_impl.h |
| @@ -372,6 +372,8 @@ class CONTENT_EXPORT PepperPluginInstanceImpl |
| ContentDecryptorDelegate* GetContentDecryptorDelegate(); |
| + void SetLayerTransform(gfx::Transform transform); |
|
bokan
2016/04/14 21:45:01
pass by const reference.
piman
2016/04/14 23:11:35
nit: this only applies to Graphics2D, maybe this s
alessandroa
2016/04/21 15:39:22
Acknowledged.
alessandroa
2016/04/21 15:39:22
Done.
alessandroa
2016/04/21 15:39:22
Acknowledged.
alessandroa
2016/04/21 15:39:22
Done.
|
| + |
| // PluginInstance implementation |
| RenderView* GetRenderView() override; |
| blink::WebPluginContainer* GetContainer() override; |
| @@ -711,6 +713,9 @@ class CONTENT_EXPORT PepperPluginInstanceImpl |
| PP_Instance pp_instance_; |
| + // This is the transform that will be applied to the layer. |
| + gfx::Transform transform_; |
| + |
| // NULL until we have been initialized. |
| blink::WebPluginContainer* container_; |
| scoped_refptr<cc::Layer> compositor_layer_; |