| 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 c4874bf578107aaf0aedd6d8702c8488ef5a5ccc..5dd7a9d077cd6b5a8d1f01110d60221fbf7a3496 100644
|
| --- a/content/renderer/pepper/pepper_plugin_instance_impl.h
|
| +++ b/content/renderer/pepper/pepper_plugin_instance_impl.h
|
| @@ -17,6 +17,7 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/strings/string16.h"
|
| #include "cc/layers/content_layer_client.h"
|
| +#include "cc/layers/layer.h"
|
| #include "cc/layers/texture_layer_client.h"
|
| #include "content/common/content_export.h"
|
| #include "content/public/renderer/pepper_plugin_instance.h"
|
| @@ -102,6 +103,7 @@ namespace content {
|
| class ContentDecryptorDelegate;
|
| class FullscreenContainer;
|
| class MessageChannel;
|
| +class PepperCompositorHost;
|
| class PepperGraphics2DHost;
|
| class PluginModule;
|
| class PluginObject;
|
| @@ -678,6 +680,7 @@ class CONTENT_EXPORT PepperPluginInstanceImpl
|
|
|
| // NULL until we have been initialized.
|
| blink::WebPluginContainer* container_;
|
| + scoped_refptr<cc::Layer> compositor_layer_;
|
| scoped_refptr<cc::TextureLayer> texture_layer_;
|
| scoped_ptr<blink::WebLayer> web_layer_;
|
| bool layer_bound_to_fullscreen_;
|
| @@ -701,9 +704,10 @@ class CONTENT_EXPORT PepperPluginInstanceImpl
|
| // same as the default values.
|
| bool sent_initial_did_change_view_;
|
|
|
| - // The current device context for painting in 2D and 3D.
|
| + // The current device context for painting in 2D, 3D or compositor.
|
| scoped_refptr<PPB_Graphics3D_Impl> bound_graphics_3d_;
|
| PepperGraphics2DHost* bound_graphics_2d_platform_;
|
| + PepperCompositorHost* bound_compositor_;
|
|
|
| // We track two types of focus, one from WebKit, which is the focus among
|
| // all elements of the page, one one from the browser, which is whether the
|
|
|