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

Unified Diff: content/renderer/pepper/pepper_plugin_instance_impl.h

Issue 1881603002: Added SetLayerTransform to PPAPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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 side-by-side diff with in-line comments
Download patch
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..27c83a41b7a5b70ee4e107d5cd7c32fd4585dbd1 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.h
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.h
@@ -545,6 +545,7 @@ class CONTENT_EXPORT PepperPluginInstanceImpl
void OnThrottleStateChange() override;
void OnHiddenForPlaceholder(bool hidden) override;
+ void SetLayerTransform(gfx::Transform transform);
wjmaclean 2016/04/13 14:47:19 I would place this function prototype above the on
alessandroa 2016/04/21 15:39:21 Done.
private:
friend class base::RefCounted<PepperPluginInstanceImpl>;
friend class PpapiPluginInstanceTest;
@@ -711,6 +712,9 @@ class CONTENT_EXPORT PepperPluginInstanceImpl
PP_Instance pp_instance_;
+ //Transform to apply to UV
wjmaclean 2016/04/13 14:47:19 Comments should be proper sentences, so it needs a
alessandroa 2016/04/21 15:39:21 Done.
+ gfx::Transform transform_;
+
// NULL until we have been initialized.
blink::WebPluginContainer* container_;
scoped_refptr<cc::Layer> compositor_layer_;

Powered by Google App Engine
This is Rietveld 408576698