summaryrefslogtreecommitdiff
path: root/chromium/ppapi/thunk/ppb_graphics_3d_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ppapi/thunk/ppb_graphics_3d_api.h')
-rw-r--r--chromium/ppapi/thunk/ppb_graphics_3d_api.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/chromium/ppapi/thunk/ppb_graphics_3d_api.h b/chromium/ppapi/thunk/ppb_graphics_3d_api.h
index 845b35f5f4f..8d590ec9e64 100644
--- a/chromium/ppapi/thunk/ppb_graphics_3d_api.h
+++ b/chromium/ppapi/thunk/ppb_graphics_3d_api.h
@@ -13,6 +13,10 @@
#include "ppapi/c/ppb_graphics_3d.h"
#include "ppapi/thunk/ppapi_thunk_export.h"
+namespace gfx {
+class Size;
+}
+
namespace gpu {
struct SyncToken;
}
@@ -35,7 +39,8 @@ class PPAPI_THUNK_EXPORT PPB_Graphics3D_API {
virtual int32_t SwapBuffers(scoped_refptr<TrackedCallback> callback) = 0;
virtual int32_t SwapBuffersWithSyncToken(
scoped_refptr<TrackedCallback> callback,
- const gpu::SyncToken& sync_token) = 0;
+ const gpu::SyncToken& sync_token,
+ const gfx::Size& size) = 0;
virtual int32_t GetAttribMaxValue(int32_t attribute, int32_t* value) = 0;
// Graphics3DTrusted API.