Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Unified Diff: ppapi/thunk/ppb_graphics_3d_api.h

Issue 10081020: PPAPI: Make blocking completion callbacks work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated TestURLLoader to test blocking callbacks. Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/thunk/ppb_graphics_3d_api.h
diff --git a/ppapi/thunk/ppb_graphics_3d_api.h b/ppapi/thunk/ppb_graphics_3d_api.h
index 84dc829acdf9b4382e77a389949df460d1957c79..1efdb7f57be7c3c9b0569d9cab0af961a92158d4 100644
--- a/ppapi/thunk/ppb_graphics_3d_api.h
+++ b/ppapi/thunk/ppb_graphics_3d_api.h
@@ -8,6 +8,7 @@
#include "ppapi/c/ppb_graphics_3d.h"
#include "ppapi/c/trusted/ppb_graphics_3d_trusted.h"
#include "ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h"
+#include "ppapi/shared_impl/api_callback_type.h"
#include "ppapi/thunk/ppapi_thunk_export.h"
namespace ppapi {
@@ -22,7 +23,7 @@ class PPAPI_THUNK_EXPORT PPB_Graphics3D_API {
virtual int32_t SetAttribs(const int32_t attrib_list[]) = 0;
virtual int32_t GetError() = 0;
virtual int32_t ResizeBuffers(int32_t width, int32_t height) = 0;
- virtual int32_t SwapBuffers(PP_CompletionCallback callback) = 0;
+ virtual int32_t SwapBuffers(ApiCallbackType callback) = 0;
// Graphics3DTrusted API.
virtual PP_Bool InitCommandBuffer() = 0;

Powered by Google App Engine
This is Rietveld 408576698