Index: content/browser/browser_plugin/browser_plugin_guest.h |
diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h |
index 86278b98694810af4cffc6ec4fa01b6f71f4346d..ee4afb9d4d8e6d565eb93a6948bff2ac15064538 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.h |
+++ b/content/browser/browser_plugin/browser_plugin_guest.h |
@@ -51,6 +51,8 @@ struct FrameHostMsg_ShowPopup_Params; |
namespace cc { |
class CompositorFrame; |
+struct SurfaceId; |
+struct SurfaceSequence; |
} // namespace cc |
namespace gfx { |
@@ -213,10 +215,16 @@ class CONTENT_EXPORT BrowserPluginGuest : public GuestHost, |
void PointerLockPermissionResponse(bool allow); |
+ void UpdateGuestSizeIfNecessary(const gfx::Size& frame_size, |
+ float scale_factor); |
void SwapCompositorFrame(uint32 output_surface_id, |
int host_process_id, |
int host_routing_id, |
scoped_ptr<cc::CompositorFrame> frame); |
+ void SetChildFrameSurface(const cc::SurfaceId& surface_id, |
+ const gfx::Size& frame_size, |
+ float scale_factor, |
+ const cc::SurfaceSequence& sequence); |
void SetContentsOpaque(bool opaque); |
@@ -241,6 +249,10 @@ class CONTENT_EXPORT BrowserPluginGuest : public GuestHost, |
bool InAutoSizeBounds(const gfx::Size& size) const; |
+ void OnSatisfySequence(int instance_id, const cc::SurfaceSequence& sequence); |
+ void OnRequireSequence(int instance_id, |
+ const cc::SurfaceId& id, |
+ const cc::SurfaceSequence& sequence); |
// Message handlers for messages from embedder. |
void OnCompositorFrameSwappedACK( |
int instance_id, |