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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc

Issue 9022021: Proxy PPB_ArrayBuffer_Dev, make them work over Messaging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add testing for multiple sizes of array. Created 9 years 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/native_client/src/shared/ppapi_proxy/browser_globals.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc b/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc
index 8fcb9578397c077de7efe180fdd3869e589e38a1..2fce29a52b014503671e8e0a59f1f5c6a0aa6200 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc
@@ -311,6 +311,13 @@ const PPB_Var* PPBVarInterface() {
return ppb;
}
+const PPB_VarArrayBuffer_Dev* PPBVarArrayBufferInterface() {
+ static const PPB_VarArrayBuffer_Dev* ppb =
+ static_cast<const PPB_VarArrayBuffer_Dev*>(
+ GetBrowserInterfaceSafe(PPB_VAR_ARRAY_BUFFER_DEV_INTERFACE));
+ return ppb;
+}
+
const PPB_WheelInputEvent* PPBWheelInputEventInterface() {
static const PPB_WheelInputEvent* ppb =
static_cast<const PPB_WheelInputEvent*>(

Powered by Google App Engine
This is Rietveld 408576698