diff options
author | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 02:44:44 +0000 |
---|---|---|
committer | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 02:44:44 +0000 |
commit | 52e211459b22e0ce7d993b53614a5e66b55e9c72 (patch) | |
tree | df26238888d1b2fd1df6701a66c3410649966693 /ppapi/thunk | |
parent | 205574060e1f2dbbacba32d2afdcc7455be863b3 (diff) | |
download | chromium_src-52e211459b22e0ce7d993b53614a5e66b55e9c72.zip chromium_src-52e211459b22e0ce7d993b53614a5e66b55e9c72.tar.gz chromium_src-52e211459b22e0ce7d993b53614a5e66b55e9c72.tar.bz2 |
First pass at revving stable pepper interfaces to 1.0.
Missing PPB_Core (pending removal of MemAlloc/MemFree) and new input event interfaces, in case we want to change them in the next ~week.
BUG=84519
TEST=ppapi tests
Review URL: http://codereview.chromium.org/7292033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92302 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/thunk')
-rw-r--r-- | ppapi/thunk/ppb_instance_thunk.cc | 6 | ||||
-rw-r--r-- | ppapi/thunk/thunk.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/ppapi/thunk/ppb_instance_thunk.cc b/ppapi/thunk/ppb_instance_thunk.cc index 025e3e0..3d7ef60 100644 --- a/ppapi/thunk/ppb_instance_thunk.cc +++ b/ppapi/thunk/ppb_instance_thunk.cc @@ -49,7 +49,7 @@ PP_Var ExecuteScript(PP_Instance instance, return enter.functions()->ExecuteScript(instance, script, exception); } -const PPB_Instance_0_5 g_ppb_instance_0_5_thunk = { +const PPB_Instance_1_0 g_ppb_instance_1_0_thunk = { &BindGraphics, &IsFullFrame }; @@ -73,8 +73,8 @@ const PPB_Instance_Private g_ppb_instance_private_thunk = { const PPB_Instance_0_4* GetPPB_Instance_0_4_Thunk() { return &g_ppb_instance_0_4_thunk; } -const PPB_Instance_0_5* GetPPB_Instance_0_5_Thunk() { - return &g_ppb_instance_0_5_thunk; +const PPB_Instance_1_0* GetPPB_Instance_1_0_Thunk() { + return &g_ppb_instance_1_0_thunk; } const PPB_Instance_Private* GetPPB_Instance_Private_Thunk() { return &g_ppb_instance_private_thunk; diff --git a/ppapi/thunk/thunk.h b/ppapi/thunk/thunk.h index b02b920..e03a8e1 100644 --- a/ppapi/thunk/thunk.h +++ b/ppapi/thunk/thunk.h @@ -54,9 +54,9 @@ struct PPB_Zoom_Dev; #ifdef PPAPI_INSTANCE_REMOVE_SCRIPTING struct PPB_Instance_0_4; -typedef PPB_Instance PPB_Instance_0_5; +typedef PPB_Instance PPB_Instance_1_0; #else -struct PPB_Instance_0_5; +struct PPB_Instance_1_0; typedef PPB_Instance PPB_Instance_0_4; #endif @@ -93,7 +93,7 @@ const PPB_InputEvent* GetPPB_InputEvent_Thunk(); const PPB_ImageData* GetPPB_ImageData_Thunk(); const PPB_ImageDataTrusted* GetPPB_ImageDataTrusted_Thunk(); const PPB_Instance_0_4* GetPPB_Instance_0_4_Thunk(); -const PPB_Instance_0_5* GetPPB_Instance_0_5_Thunk(); +const PPB_Instance_1_0* GetPPB_Instance_1_0_Thunk(); const PPB_Instance_Private* GetPPB_Instance_Private_Thunk(); const PPB_KeyboardInputEvent* GetPPB_KeyboardInputEvent_Thunk(); const PPB_LayerCompositor_Dev* GetPPB_LayerCompositor_Thunk(); |