Index: content/browser/renderer_host/render_widget_helper.h |
diff --git a/content/browser/renderer_host/render_widget_helper.h b/content/browser/renderer_host/render_widget_helper.h |
index 50ecdbda4912bb05f61024cadb0e5365543cfcca..af5c6612b5edfcab4ff382de9445bfe1b23bed00 100644 |
--- a/content/browser/renderer_host/render_widget_helper.h |
+++ b/content/browser/renderer_host/render_widget_helper.h |
@@ -30,10 +30,12 @@ namespace base { |
class TimeDelta; |
} |
+struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params; |
struct ViewHostMsg_CreateWindow_Params; |
struct ViewMsg_SwapOut_Params; |
namespace content { |
+class GpuProcessHost; |
class ResourceDispatcherHostImpl; |
class SessionStorageNamespace; |
@@ -167,6 +169,12 @@ class RenderWidgetHelper |
void FreeTransportDIB(TransportDIB::Id dib_id); |
#endif |
+#if defined(OS_MACOSX) |
+ static void OnNativeSurfaceBuffersSwappedOnIOThread( |
+ GpuProcessHost* gpu_process_host, |
+ const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params); |
+#endif |
+ |
private: |
// A class used to proxy a paint message. PaintMsgProxy objects are created |
// on the IO thread and destroyed on the UI thread. |