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

Unified Diff: webkit/plugins/ppapi/ppb_flash_impl.cc

Issue 9960083: Add a Flash API to get the device ID. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « webkit/plugins/ppapi/ppb_flash_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_flash_impl.cc
diff --git a/webkit/plugins/ppapi/ppb_flash_impl.cc b/webkit/plugins/ppapi/ppb_flash_impl.cc
index 4042019f4456ee95df9f81163a179a16010b201b..572a33a95c7aebb98db62208620fa8e0504e192e 100644
--- a/webkit/plugins/ppapi/ppb_flash_impl.cc
+++ b/webkit/plugins/ppapi/ppb_flash_impl.cc
@@ -266,6 +266,11 @@ void UpdateActivity(PP_Instance pp_instance) {
// TODO(viettrungluu): Implement me.
}
+PP_Var GetDeviceID(PP_Instance pp_instance) {
+ // TODO(brettw) implement me.
+ return PP_MakeUndefined();
+}
+
const PPB_Flash_11 ppb_flash_11 = {
&SetInstanceAlwaysOnTop,
&DrawGlyphs11,
@@ -304,6 +309,22 @@ const PPB_Flash_12_1 ppb_flash_12_1 = {
&UpdateActivity
};
+const PPB_Flash_12_2 ppb_flash_12_2 = {
+ &SetInstanceAlwaysOnTop,
+ &DrawGlyphs,
+ &GetProxyForURL,
+ &Navigate,
+ &RunMessageLoop,
+ &QuitMessageLoop,
+ &GetLocalTimeZoneOffset,
+ &GetCommandLineArgs,
+ &PreLoadFontWin,
+ &IsRectTopmost,
+ &InvokePrinting,
+ &UpdateActivity,
+ &GetDeviceID
+};
+
} // namespace
// static
@@ -321,5 +342,10 @@ const PPB_Flash_12_1* PPB_Flash_Impl::GetInterface12_1() {
return &ppb_flash_12_1;
}
+// static
+const PPB_Flash_12_2* PPB_Flash_Impl::GetInterface12_2() {
+ return &ppb_flash_12_2;
+}
+
} // namespace ppapi
} // namespace webkit
« no previous file with comments | « webkit/plugins/ppapi/ppb_flash_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698