| Index: content/renderer/browser_plugin/browser_plugin.h
|
| diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h
|
| index 379369790a512541dc2fc3277e46a1813d63c3f7..dd3d6124640e96bf7f6004298032fc5b2d2529ec 100644
|
| --- a/content/renderer/browser_plugin/browser_plugin.h
|
| +++ b/content/renderer/browser_plugin/browser_plugin.h
|
| @@ -20,6 +20,11 @@
|
| struct BrowserPluginHostMsg_ResizeGuest_Params;
|
| struct FrameMsg_BuffersSwapped_Params;
|
|
|
| +namespace cc {
|
| +struct SurfaceId;
|
| +struct SurfaceSequence;
|
| +}
|
| +
|
| namespace content {
|
|
|
| class BrowserPluginDelegate;
|
| @@ -55,6 +60,9 @@ class CONTENT_EXPORT BrowserPlugin :
|
| // A request to enable hardware compositing.
|
| void EnableCompositing(bool enable);
|
|
|
| + // Called by CompositingHelper to send current SurfaceSequence to browser.
|
| + void SendSatisfySequence(const cc::SurfaceSequence& sequence);
|
| +
|
| void UpdateInternalInstanceId();
|
|
|
| // Provided that a guest instance ID has been allocated, this method attaches
|
| @@ -159,6 +167,11 @@ class CONTENT_EXPORT BrowserPlugin :
|
| void OnAdvanceFocus(int instance_id, bool reverse);
|
| void OnCompositorFrameSwapped(const IPC::Message& message);
|
| void OnGuestGone(int instance_id);
|
| + void OnSetChildFrameSurface(int instance_id,
|
| + const cc::SurfaceId& surface_id,
|
| + const gfx::Size& frame_size,
|
| + float scale_factor,
|
| + const cc::SurfaceSequence& sequence);
|
| void OnSetContentsOpaque(int instance_id, bool opaque);
|
| void OnSetCursor(int instance_id, const WebCursor& cursor);
|
| void OnSetMouseLock(int instance_id, bool enable);
|
|
|