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

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

Issue 8930023: Rev the Flash interface to add new functionality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed 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: webkit/plugins/ppapi/plugin_module.cc
diff --git a/webkit/plugins/ppapi/plugin_module.cc b/webkit/plugins/ppapi/plugin_module.cc
index 1b723a64db9452e2aa29d79762b19660f5f9fd6f..d86c222e3dfeac5f6c6a9bddb9be1c1466929460 100644
--- a/webkit/plugins/ppapi/plugin_module.cc
+++ b/webkit/plugins/ppapi/plugin_module.cc
@@ -286,8 +286,10 @@ const void* GetInterface(const char* name) {
return &core_interface;
if (strcmp(name, PPB_FILECHOOSER_TRUSTED_INTERFACE) == 0)
return ::ppapi::thunk::GetPPB_FileChooser_Trusted_Thunk();
- if (strcmp(name, PPB_FLASH_INTERFACE) == 0)
- return PPB_Flash_Impl::GetInterface();
+ if (strcmp(name, PPB_FLASH_INTERFACE_11_0) == 0)
+ return PPB_Flash_Impl::GetInterface11();
+ if (strcmp(name, PPB_FLASH_INTERFACE_12_0) == 0)
+ return PPB_Flash_Impl::GetInterface12();
if (strcmp(name, PPB_FLASH_CLIPBOARD_INTERFACE) == 0)
return ::ppapi::thunk::GetPPB_Flash_Clipboard_Thunk();
if (strcmp(name, PPB_FLASH_CLIPBOARD_INTERFACE_3_LEGACY) == 0)

Powered by Google App Engine
This is Rietveld 408576698