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

Side by Side Diff: webkit/plugins/ppapi/plugin_module.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/interface_list.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/plugins/ppapi/plugin_module.h" 5 #include "webkit/plugins/ppapi/plugin_module.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 if (strcmp(name, PPB_CORE_INTERFACE) == 0) 267 if (strcmp(name, PPB_CORE_INTERFACE) == 0)
268 return &core_interface; 268 return &core_interface;
269 if (strcmp(name, PPB_FILEIOTRUSTED_INTERFACE) == 0) 269 if (strcmp(name, PPB_FILEIOTRUSTED_INTERFACE) == 0)
270 return ::ppapi::thunk::GetPPB_FileIOTrusted_Thunk(); 270 return ::ppapi::thunk::GetPPB_FileIOTrusted_Thunk();
271 if (strcmp(name, PPB_FILECHOOSER_TRUSTED_INTERFACE) == 0) 271 if (strcmp(name, PPB_FILECHOOSER_TRUSTED_INTERFACE) == 0)
272 return ::ppapi::thunk::GetPPB_FileChooser_Trusted_Thunk(); 272 return ::ppapi::thunk::GetPPB_FileChooser_Trusted_Thunk();
273 if (strcmp(name, PPB_FLASH_INTERFACE) == 0) 273 if (strcmp(name, PPB_FLASH_INTERFACE) == 0)
274 return PPB_Flash_Impl::GetInterface(); 274 return PPB_Flash_Impl::GetInterface();
275 if (strcmp(name, PPB_FLASH_CLIPBOARD_INTERFACE) == 0) 275 if (strcmp(name, PPB_FLASH_CLIPBOARD_INTERFACE) == 0)
276 return ::ppapi::thunk::GetPPB_Flash_Clipboard_Thunk(); 276 return ::ppapi::thunk::GetPPB_Flash_Clipboard_Thunk();
277 if (strcmp(name, PPB_FLASH_CLIPBOARD_INTERFACE_3_LEGACY) == 0)
278 return ::ppapi::thunk::GetPPB_Flash_Clipboard_Thunk();
277 if (strcmp(name, PPB_FLASH_FILE_FILEREF_INTERFACE) == 0) 279 if (strcmp(name, PPB_FLASH_FILE_FILEREF_INTERFACE) == 0)
278 return PPB_Flash_File_FileRef_Impl::GetInterface(); 280 return PPB_Flash_File_FileRef_Impl::GetInterface();
279 if (strcmp(name, PPB_FLASH_FILE_MODULELOCAL_INTERFACE) == 0) 281 if (strcmp(name, PPB_FLASH_FILE_MODULELOCAL_INTERFACE) == 0)
280 return PPB_Flash_File_ModuleLocal_Impl::GetInterface(); 282 return PPB_Flash_File_ModuleLocal_Impl::GetInterface();
281 if (strcmp(name, PPB_FLASH_MENU_INTERFACE) == 0) 283 if (strcmp(name, PPB_FLASH_MENU_INTERFACE) == 0)
282 return ::ppapi::thunk::GetPPB_Flash_Menu_Thunk(); 284 return ::ppapi::thunk::GetPPB_Flash_Menu_Thunk();
283 if (strcmp(name, PPB_FLASH_TCPSOCKET_INTERFACE) == 0) 285 if (strcmp(name, PPB_FLASH_TCPSOCKET_INTERFACE) == 0)
284 return ::ppapi::thunk::GetPPB_Flash_TCPSocket_Thunk(); 286 return ::ppapi::thunk::GetPPB_Flash_TCPSocket_Thunk();
285 if (strcmp(name, PPB_FLASH_UDPSOCKET_INTERFACE) == 0) 287 if (strcmp(name, PPB_FLASH_UDPSOCKET_INTERFACE) == 0)
286 return ::ppapi::thunk::GetPPB_Flash_UDPSocket_Thunk(); 288 return ::ppapi::thunk::GetPPB_Flash_UDPSocket_Thunk();
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 int retval = entry_points.initialize_module(pp_module(), &GetInterface); 558 int retval = entry_points.initialize_module(pp_module(), &GetInterface);
557 if (retval != 0) { 559 if (retval != 0) {
558 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval; 560 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval;
559 return false; 561 return false;
560 } 562 }
561 return true; 563 return true;
562 } 564 }
563 565
564 } // namespace ppapi 566 } // namespace ppapi
565 } // namespace webkit 567 } // namespace webkit
OLDNEW
« no previous file with comments | « ppapi/proxy/interface_list.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698