Index: ppapi/thunk/ppb_flash_thunk.cc |
diff --git a/ppapi/thunk/ppb_flash_thunk.cc b/ppapi/thunk/ppb_flash_thunk.cc |
index c988b6a8ac4c72cdb7466a1e12700d906ded43ed..85ca39372cbe605bdd74584de0a839fc4b87777a 100644 |
--- a/ppapi/thunk/ppb_flash_thunk.cc |
+++ b/ppapi/thunk/ppb_flash_thunk.cc |
@@ -144,6 +144,15 @@ PP_Var GetSetting(PP_Instance instance, PP_FlashSetting setting) { |
return enter.functions()->GetFlashAPI()->GetSetting(instance, setting); |
} |
+PP_Bool SetCrashData(PP_Instance instance, |
+ PP_FlashCrashKey key, |
+ PP_Var value) { |
+ EnterInstance enter(instance); |
+ if (enter.failed()) |
+ return PP_FALSE; |
+ return enter.functions()->GetFlashAPI()->SetCrashData(instance, key, value); |
+} |
+ |
const PPB_Flash_12_0 g_ppb_flash_12_0_thunk = { |
&SetInstanceAlwaysOnTop, |
&DrawGlyphs, |
@@ -222,6 +231,25 @@ const PPB_Flash_12_4 g_ppb_flash_12_4_thunk = { |
&GetSetting |
}; |
+const PPB_Flash_12_5 g_ppb_flash_12_5_thunk = { |
+ &SetInstanceAlwaysOnTop, |
+ &DrawGlyphs, |
+ &GetProxyForURL, |
+ &Navigate, |
+ &RunMessageLoop, |
+ &QuitMessageLoop, |
+ &GetLocalTimeZoneOffset, |
+ &GetCommandLineArgs, |
+ &PreLoadFontWin, |
+ &IsRectTopmost, |
+ &InvokePrinting, |
+ &UpdateActivity, |
+ &GetDeviceID, |
+ &GetSettingInt, |
+ &GetSetting, |
+ &SetCrashData |
+}; |
+ |
} // namespace |
const PPB_Flash_12_0* GetPPB_Flash_12_0_Thunk() { |
@@ -244,5 +272,9 @@ const PPB_Flash_12_4* GetPPB_Flash_12_4_Thunk() { |
return &g_ppb_flash_12_4_thunk; |
} |
+const PPB_Flash_12_5* GetPPB_Flash_12_5_Thunk() { |
+ return &g_ppb_flash_12_5_thunk; |
+} |
+ |
} // namespace thunk |
} // namespace ppapi |