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 179499477707fdda5f768cf58ae6891586bae6b8..accd5ebcb5c74e60217254ac1b034b38ab8212ac 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); |
+ |
// Provided that a guest instance ID has been allocated, this method attaches |
// this BrowserPlugin instance to that guest. |
void Attach(); |
@@ -158,6 +166,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); |