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 0eeb8f90723f55767130696d2053e6c37b7b5ce3..5781735d97e911197565892422e23181f7ccaf31 100644 |
--- a/content/renderer/browser_plugin/browser_plugin.h |
+++ b/content/renderer/browser_plugin/browser_plugin.h |
@@ -26,6 +26,7 @@ struct BrowserPluginMsg_UpdateRect_Params; |
namespace content { |
+class BrowserPluginCompositingHelper; |
class BrowserPluginManager; |
class MockBrowserPlugin; |
@@ -241,6 +242,11 @@ class CONTENT_EXPORT BrowserPlugin : |
// IPC message handlers. |
// Please keep in alphabetical order. |
void OnAdvanceFocus(int instance_id, bool reverse); |
+ void OnBuffersSwapped(int instance_id, |
+ const gfx::Size& size, |
+ std::string mailbox_name, |
+ int gpu_route_id, |
+ int gpu_host_id); |
void OnGuestContentWindowReady(int instance_id, |
int content_window_routing_id); |
void OnGuestGone(int instance_id, int process_id, int status); |
@@ -325,6 +331,7 @@ class CONTENT_EXPORT BrowserPlugin : |
// Used for HW compositing. |
bool compositing_enabled_; |
+ scoped_ptr<BrowserPluginCompositingHelper> compositing_helper_; |
DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); |
}; |