Index: ppapi/proxy/ppb_flash_proxy.cc |
diff --git a/ppapi/proxy/ppb_flash_proxy.cc b/ppapi/proxy/ppb_flash_proxy.cc |
index d2e5cb6edc300ef941b53f1c123647abff2b78c0..18d1f5ab3e3a9f8f06a4aae16fdfdd8bb114cf00 100644 |
--- a/ppapi/proxy/ppb_flash_proxy.cc |
+++ b/ppapi/proxy/ppb_flash_proxy.cc |
@@ -222,6 +222,11 @@ void UpdateActivity(PP_Instance instance) { |
// TODO(viettrungluu): Implement me. |
} |
+PP_Var GetDeviceID(PP_Instance instance) { |
+ // TODO(brettw) implement me. |
+ return PP_MakeUndefined(); |
+} |
+ |
const PPB_Flash_11 flash_interface_11 = { |
&SetInstanceAlwaysOnTop, |
&DrawGlyphs11, |
@@ -260,6 +265,22 @@ const PPB_Flash_12_1 flash_interface_12_1 = { |
&UpdateActivity |
}; |
+const PPB_Flash_12_2 flash_interface_12_2 = { |
+ &SetInstanceAlwaysOnTop, |
+ &DrawGlyphs, |
+ &GetProxyForURL, |
+ &Navigate, |
+ &RunMessageLoop, |
+ &QuitMessageLoop, |
+ &GetLocalTimeZoneOffset, |
+ &GetCommandLineArgs, |
+ &PreLoadFontWin, |
+ &IsRectTopmost, |
+ &InvokePrinting, |
+ &UpdateActivity, |
+ &GetDeviceID |
+}; |
+ |
} // namespace |
PPB_Flash_Proxy::PPB_Flash_Proxy(Dispatcher* dispatcher) |
@@ -288,6 +309,11 @@ const PPB_Flash_12_1* PPB_Flash_Proxy::GetInterface12_1() { |
return &flash_interface_12_1; |
} |
+// static |
+const PPB_Flash_12_2* PPB_Flash_Proxy::GetInterface12_2() { |
+ return &flash_interface_12_2; |
+} |
+ |
bool PPB_Flash_Proxy::OnMessageReceived(const IPC::Message& msg) { |
// Prevent the dispatcher from going away during a call to Navigate. |
// This must happen OUTSIDE of OnMsgNavigate since the handling code use |