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

Unified Diff: ppapi/proxy/interface_list.cc

Issue 8559003: Pepper: Generate ppb_flash_clipboard.h from .idl file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix whitespace Created 9 years, 1 month 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 | « ppapi/c/private/ppb_flash_clipboard.h ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/interface_list.cc
diff --git a/ppapi/proxy/interface_list.cc b/ppapi/proxy/interface_list.cc
index c1f1b9f1a6a5a0a34400d496b2ff358cfa6718c4..f855f904c221c5eccf64156a6ee8d9aa5f84a78d 100644
--- a/ppapi/proxy/interface_list.cc
+++ b/ppapi/proxy/interface_list.cc
@@ -238,10 +238,21 @@ const void* InterfaceList::GetInterfaceForPPP(const std::string& name) const {
}
void InterfaceList::AddFlashInterfaces() {
+ AddProxy(API_ID_PPB_FLASH, &ProxyFactory<PPB_Flash_Proxy>);
+ AddPPB(PPB_FLASH_INTERFACE, API_ID_PPB_FLASH,
+ PPB_Flash_Proxy::GetInterface());
+
AddProxy(API_ID_PPB_FLASH_CLIPBOARD,
&ProxyFactory<PPB_Flash_Clipboard_Proxy>);
AddPPB(PPB_FLASH_CLIPBOARD_INTERFACE, API_ID_PPB_FLASH_CLIPBOARD,
thunk::GetPPB_Flash_Clipboard_Thunk());
+ AddPPB(PPB_FLASH_CLIPBOARD_INTERFACE_3_LEGACY, API_ID_PPB_FLASH_CLIPBOARD,
+ thunk::GetPPB_Flash_Clipboard_Thunk());
+
+ AddProxy(API_ID_PPB_FLASH_FILE_FILEREF,
+ &ProxyFactory<PPB_Flash_File_FileRef_Proxy>);
+ AddPPB(PPB_FLASH_FILE_FILEREF_INTERFACE, API_ID_PPB_FLASH_FILE_FILEREF,
+ PPB_Flash_File_FileRef_Proxy::GetInterface());
AddProxy(API_ID_PPB_FLASH_FILE_MODULELOCAL,
&ProxyFactory<PPB_Flash_File_ModuleLocal_Proxy>);
@@ -249,19 +260,10 @@ void InterfaceList::AddFlashInterfaces() {
API_ID_PPB_FLASH_FILE_MODULELOCAL,
PPB_Flash_File_ModuleLocal_Proxy::GetInterface());
- AddProxy(API_ID_PPB_FLASH_FILE_FILEREF,
- &ProxyFactory<PPB_Flash_File_FileRef_Proxy>);
- AddPPB(PPB_FLASH_FILE_FILEREF_INTERFACE, API_ID_PPB_FLASH_FILE_FILEREF,
- PPB_Flash_File_FileRef_Proxy::GetInterface());
-
AddProxy(API_ID_PPB_FLASH_MENU, &ProxyFactory<PPB_Flash_Menu_Proxy>);
AddPPB(PPB_FLASH_MENU_INTERFACE, API_ID_PPB_FLASH_MENU,
thunk::GetPPB_Flash_Menu_Thunk());
- AddProxy(API_ID_PPB_FLASH, &ProxyFactory<PPB_Flash_Proxy>);
- AddPPB(PPB_FLASH_INTERFACE, API_ID_PPB_FLASH,
- PPB_Flash_Proxy::GetInterface());
-
AddProxy(API_ID_PPB_FLASH_TCPSOCKET,
&ProxyFactory<PPB_Flash_TCPSocket_Proxy>);
AddPPB(PPB_FLASH_TCPSOCKET_INTERFACE, API_ID_PPB_FLASH_TCPSOCKET,
« no previous file with comments | « ppapi/c/private/ppb_flash_clipboard.h ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698