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

Side by Side Diff: webkit/plugins/ppapi/plugin_module.cc

Issue 9369003: Pepper: Add a function to PPB_Flash to check if a rect is topmost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add stubs for InvokePrinting() and UpdateActivity() Created 8 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/ppb_flash_proxy.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.h » ('j') | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 if (strcmp(name, PPB_BUFFER_TRUSTED_INTERFACE_0_1) == 0) 304 if (strcmp(name, PPB_BUFFER_TRUSTED_INTERFACE_0_1) == 0)
305 return ::ppapi::thunk::GetPPB_BufferTrusted_0_1_Thunk(); 305 return ::ppapi::thunk::GetPPB_BufferTrusted_0_1_Thunk();
306 if (strcmp(name, PPB_CORE_INTERFACE_1_0) == 0) 306 if (strcmp(name, PPB_CORE_INTERFACE_1_0) == 0)
307 return &core_interface; 307 return &core_interface;
308 if (strcmp(name, PPB_FILECHOOSER_TRUSTED_INTERFACE_0_5) == 0) 308 if (strcmp(name, PPB_FILECHOOSER_TRUSTED_INTERFACE_0_5) == 0)
309 return ::ppapi::thunk::GetPPB_FileChooser_Trusted_0_5_Thunk(); 309 return ::ppapi::thunk::GetPPB_FileChooser_Trusted_0_5_Thunk();
310 if (strcmp(name, PPB_FLASH_INTERFACE_11_0) == 0) 310 if (strcmp(name, PPB_FLASH_INTERFACE_11_0) == 0)
311 return PPB_Flash_Impl::GetInterface11(); 311 return PPB_Flash_Impl::GetInterface11();
312 if (strcmp(name, PPB_FLASH_INTERFACE_12_0) == 0) 312 if (strcmp(name, PPB_FLASH_INTERFACE_12_0) == 0)
313 return PPB_Flash_Impl::GetInterface12_0(); 313 return PPB_Flash_Impl::GetInterface12_0();
314 if (strcmp(name, PPB_FLASH_INTERFACE_12_1) == 0)
315 return PPB_Flash_Impl::GetInterface12_1();
314 if (strcmp(name, PPB_FLASH_CLIPBOARD_INTERFACE_3_0) == 0) 316 if (strcmp(name, PPB_FLASH_CLIPBOARD_INTERFACE_3_0) == 0)
315 return ::ppapi::thunk::GetPPB_Flash_Clipboard_3_0_Thunk(); 317 return ::ppapi::thunk::GetPPB_Flash_Clipboard_3_0_Thunk();
316 if (strcmp(name, PPB_FLASH_CLIPBOARD_INTERFACE_3_LEGACY) == 0) 318 if (strcmp(name, PPB_FLASH_CLIPBOARD_INTERFACE_3_LEGACY) == 0)
317 return ::ppapi::thunk::GetPPB_Flash_Clipboard_3_0_Thunk(); 319 return ::ppapi::thunk::GetPPB_Flash_Clipboard_3_0_Thunk();
318 if (strcmp(name, PPB_FLASH_FILE_FILEREF_INTERFACE) == 0) 320 if (strcmp(name, PPB_FLASH_FILE_FILEREF_INTERFACE) == 0)
319 return PPB_Flash_File_FileRef_Impl::GetInterface(); 321 return PPB_Flash_File_FileRef_Impl::GetInterface();
320 if (strcmp(name, PPB_FLASH_FILE_MODULELOCAL_INTERFACE) == 0) 322 if (strcmp(name, PPB_FLASH_FILE_MODULELOCAL_INTERFACE) == 0)
321 return PPB_Flash_File_ModuleLocal_Impl::GetInterface(); 323 return PPB_Flash_File_ModuleLocal_Impl::GetInterface();
322 if (strcmp(name, PPB_FLASH_MENU_INTERFACE_0_2) == 0) 324 if (strcmp(name, PPB_FLASH_MENU_INTERFACE_0_2) == 0)
323 return ::ppapi::thunk::GetPPB_Flash_Menu_0_2_Thunk(); 325 return ::ppapi::thunk::GetPPB_Flash_Menu_0_2_Thunk();
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 int retval = entry_points.initialize_module(pp_module(), &GetInterface); 601 int retval = entry_points.initialize_module(pp_module(), &GetInterface);
600 if (retval != 0) { 602 if (retval != 0) {
601 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval; 603 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval;
602 return false; 604 return false;
603 } 605 }
604 return true; 606 return true;
605 } 607 }
606 608
607 } // namespace ppapi 609 } // namespace ppapi
608 } // namespace webkit 610 } // namespace webkit
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_flash_proxy.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698