| Index: content/plugin/webplugin_proxy.h
|
| ===================================================================
|
| --- content/plugin/webplugin_proxy.h (revision 111400)
|
| +++ content/plugin/webplugin_proxy.h (working copy)
|
| @@ -136,11 +136,14 @@
|
|
|
| virtual void StartIme() OVERRIDE;
|
|
|
| - virtual void BindFakePluginWindowHandle(bool opaque) OVERRIDE;
|
| -
|
| virtual webkit::npapi::WebPluginAcceleratedSurface*
|
| GetAcceleratedSurface(gfx::GpuPreference gpu_preference) OVERRIDE;
|
|
|
| + //----------------------------------------------------------------------
|
| + // Legacy Core Animation plugin implementation rendering directly to screen.
|
| +
|
| + virtual void BindFakePluginWindowHandle(bool opaque) OVERRIDE;
|
| +
|
| // Tell the browser (via the renderer) to invalidate because the
|
| // accelerated buffers have changed.
|
| virtual void AcceleratedFrameBuffersDidSwap(
|
| @@ -168,6 +171,20 @@
|
| virtual void AllocSurfaceDIB(const size_t size,
|
| TransportDIB::Handle* dib_handle);
|
| virtual void FreeSurfaceDIB(TransportDIB::Id dib_id);
|
| +
|
| + //----------------------------------------------------------------------
|
| + // New accelerated plugin implementation which renders via the compositor.
|
| +
|
| + // Tells the renderer, and from there the GPU process, that the plugin
|
| + // is using accelerated rather than software rendering.
|
| + virtual void AcceleratedPluginEnabledRendering();
|
| +
|
| + // Tells the renderer, and from there the GPU process, that the plugin
|
| + // allocated the given IOSurface to be used as its backing store.
|
| + virtual void AcceleratedPluginAllocatedIOSurface(int32 width,
|
| + int32 height,
|
| + uint32 surface_id);
|
| + virtual void AcceleratedPluginSwappedIOSurface();
|
| #endif
|
|
|
| virtual void URLRedirectResponse(bool allow, int resource_id) OVERRIDE;
|
|
|