summaryrefslogtreecommitdiffstats
path: root/chromium/content/browser/renderer_host/render_widget_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/renderer_host/render_widget_helper.h')
-rw-r--r--chromium/content/browser/renderer_host/render_widget_helper.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/chromium/content/browser/renderer_host/render_widget_helper.h b/chromium/content/browser/renderer_host/render_widget_helper.h
index a81b1ded47d..af5c6612b5e 100644
--- a/chromium/content/browser/renderer_host/render_widget_helper.h
+++ b/chromium/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;
@@ -134,11 +136,6 @@ class RenderWidgetHelper
// created by CreateNewWindow which initially blocked the requests.
void ResumeRequestsForView(int route_id);
-#if defined(OS_POSIX) && !defined(TOOLKIT_GTK) && !defined(OS_ANDROID)
- // Given the id of a transport DIB, return a mapping to it or NULL on error.
- TransportDIB* MapTransportDIB(TransportDIB::Id dib_id);
-#endif
-
// IO THREAD ONLY -----------------------------------------------------------
// Called on the IO thread when a BackingStore message is received.
@@ -172,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.