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

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

Issue 6253017: Pepper/Flapper: First pass at context menu implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make brettw happier Created 9 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 | « webkit/plugins/ppapi/plugin_delegate.h ('k') | webkit/plugins/ppapi/ppb_flash_impl.cc » ('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) 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/command_line.h" 9 #include "base/command_line.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "ppapi/c/ppb_graphics_2d.h" 42 #include "ppapi/c/ppb_graphics_2d.h"
43 #include "ppapi/c/ppb_image_data.h" 43 #include "ppapi/c/ppb_image_data.h"
44 #include "ppapi/c/ppb_instance.h" 44 #include "ppapi/c/ppb_instance.h"
45 #include "ppapi/c/ppb_url_loader.h" 45 #include "ppapi/c/ppb_url_loader.h"
46 #include "ppapi/c/ppb_url_request_info.h" 46 #include "ppapi/c/ppb_url_request_info.h"
47 #include "ppapi/c/ppb_url_response_info.h" 47 #include "ppapi/c/ppb_url_response_info.h"
48 #include "ppapi/c/ppb_var.h" 48 #include "ppapi/c/ppb_var.h"
49 #include "ppapi/c/ppp.h" 49 #include "ppapi/c/ppp.h"
50 #include "ppapi/c/ppp_instance.h" 50 #include "ppapi/c/ppp_instance.h"
51 #include "ppapi/c/private/ppb_flash.h" 51 #include "ppapi/c/private/ppb_flash.h"
52 #include "ppapi/c/private/ppb_flash_menu.h"
52 #include "ppapi/c/private/ppb_pdf.h" 53 #include "ppapi/c/private/ppb_pdf.h"
53 #include "ppapi/c/private/ppb_nacl_private.h" 54 #include "ppapi/c/private/ppb_nacl_private.h"
54 #include "ppapi/c/trusted/ppb_image_data_trusted.h" 55 #include "ppapi/c/trusted/ppb_image_data_trusted.h"
55 #include "ppapi/c/trusted/ppb_url_loader_trusted.h" 56 #include "ppapi/c/trusted/ppb_url_loader_trusted.h"
56 #include "webkit/plugins/ppapi/callbacks.h" 57 #include "webkit/plugins/ppapi/callbacks.h"
57 #include "webkit/plugins/ppapi/common.h" 58 #include "webkit/plugins/ppapi/common.h"
58 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" 59 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
59 #include "webkit/plugins/ppapi/ppb_audio_impl.h" 60 #include "webkit/plugins/ppapi/ppb_audio_impl.h"
60 #include "webkit/plugins/ppapi/ppb_buffer_impl.h" 61 #include "webkit/plugins/ppapi/ppb_buffer_impl.h"
61 #include "webkit/plugins/ppapi/ppb_char_set_impl.h" 62 #include "webkit/plugins/ppapi/ppb_char_set_impl.h"
62 #include "webkit/plugins/ppapi/ppb_cursor_control_impl.h" 63 #include "webkit/plugins/ppapi/ppb_cursor_control_impl.h"
63 #include "webkit/plugins/ppapi/ppb_directory_reader_impl.h" 64 #include "webkit/plugins/ppapi/ppb_directory_reader_impl.h"
64 #include "webkit/plugins/ppapi/ppb_file_chooser_impl.h" 65 #include "webkit/plugins/ppapi/ppb_file_chooser_impl.h"
65 #include "webkit/plugins/ppapi/ppb_file_io_impl.h" 66 #include "webkit/plugins/ppapi/ppb_file_io_impl.h"
66 #include "webkit/plugins/ppapi/ppb_file_ref_impl.h" 67 #include "webkit/plugins/ppapi/ppb_file_ref_impl.h"
67 #include "webkit/plugins/ppapi/ppb_file_system_impl.h" 68 #include "webkit/plugins/ppapi/ppb_file_system_impl.h"
68 #include "webkit/plugins/ppapi/ppb_flash_impl.h" 69 #include "webkit/plugins/ppapi/ppb_flash_impl.h"
70 #include "webkit/plugins/ppapi/ppb_flash_menu_impl.h"
69 #include "webkit/plugins/ppapi/ppb_font_impl.h" 71 #include "webkit/plugins/ppapi/ppb_font_impl.h"
70 #include "webkit/plugins/ppapi/ppb_graphics_2d_impl.h" 72 #include "webkit/plugins/ppapi/ppb_graphics_2d_impl.h"
71 #include "webkit/plugins/ppapi/ppb_image_data_impl.h" 73 #include "webkit/plugins/ppapi/ppb_image_data_impl.h"
72 #include "webkit/plugins/ppapi/ppb_nacl_private_impl.h" 74 #include "webkit/plugins/ppapi/ppb_nacl_private_impl.h"
73 #include "webkit/plugins/ppapi/ppb_pdf_impl.h" 75 #include "webkit/plugins/ppapi/ppb_pdf_impl.h"
74 #include "webkit/plugins/ppapi/ppb_scrollbar_impl.h" 76 #include "webkit/plugins/ppapi/ppb_scrollbar_impl.h"
75 #include "webkit/plugins/ppapi/ppb_transport_impl.h" 77 #include "webkit/plugins/ppapi/ppb_transport_impl.h"
76 #include "webkit/plugins/ppapi/ppb_url_loader_impl.h" 78 #include "webkit/plugins/ppapi/ppb_url_loader_impl.h"
77 #include "webkit/plugins/ppapi/ppb_url_request_info_impl.h" 79 #include "webkit/plugins/ppapi/ppb_url_request_info_impl.h"
78 #include "webkit/plugins/ppapi/ppb_url_response_info_impl.h" 80 #include "webkit/plugins/ppapi/ppb_url_response_info_impl.h"
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 if (strcmp(name, PPB_FILEIOTRUSTED_DEV_INTERFACE) == 0) 236 if (strcmp(name, PPB_FILEIOTRUSTED_DEV_INTERFACE) == 0)
235 return PPB_FileIO_Impl::GetTrustedInterface(); 237 return PPB_FileIO_Impl::GetTrustedInterface();
236 if (strcmp(name, PPB_FILEREF_DEV_INTERFACE) == 0) 238 if (strcmp(name, PPB_FILEREF_DEV_INTERFACE) == 0)
237 return PPB_FileRef_Impl::GetInterface(); 239 return PPB_FileRef_Impl::GetInterface();
238 if (strcmp(name, PPB_FILESYSTEM_DEV_INTERFACE) == 0) 240 if (strcmp(name, PPB_FILESYSTEM_DEV_INTERFACE) == 0)
239 return PPB_FileSystem_Impl::GetInterface(); 241 return PPB_FileSystem_Impl::GetInterface();
240 if (strcmp(name, PPB_FIND_DEV_INTERFACE) == 0) 242 if (strcmp(name, PPB_FIND_DEV_INTERFACE) == 0)
241 return PluginInstance::GetFindInterface(); 243 return PluginInstance::GetFindInterface();
242 if (strcmp(name, PPB_FLASH_INTERFACE) == 0) 244 if (strcmp(name, PPB_FLASH_INTERFACE) == 0)
243 return PPB_Flash_Impl::GetInterface(); 245 return PPB_Flash_Impl::GetInterface();
246 if (strcmp(name, PPB_FLASH_MENU_INTERFACE) == 0)
247 return PPB_Flash_Menu_Impl::GetInterface();
244 if (strcmp(name, PPB_FONT_DEV_INTERFACE) == 0) 248 if (strcmp(name, PPB_FONT_DEV_INTERFACE) == 0)
245 return PPB_Font_Impl::GetInterface(); 249 return PPB_Font_Impl::GetInterface();
246 if (strcmp(name, PPB_FULLSCREEN_DEV_INTERFACE) == 0) 250 if (strcmp(name, PPB_FULLSCREEN_DEV_INTERFACE) == 0)
247 return PluginInstance::GetFullscreenInterface(); 251 return PluginInstance::GetFullscreenInterface();
248 if (strcmp(name, PPB_GRAPHICS_2D_INTERFACE) == 0) 252 if (strcmp(name, PPB_GRAPHICS_2D_INTERFACE) == 0)
249 return PPB_Graphics2D_Impl::GetInterface(); 253 return PPB_Graphics2D_Impl::GetInterface();
250 if (strcmp(name, PPB_IMAGEDATA_INTERFACE) == 0) 254 if (strcmp(name, PPB_IMAGEDATA_INTERFACE) == 0)
251 return PPB_ImageData_Impl::GetInterface(); 255 return PPB_ImageData_Impl::GetInterface();
252 if (strcmp(name, PPB_IMAGEDATA_TRUSTED_INTERFACE) == 0) 256 if (strcmp(name, PPB_IMAGEDATA_TRUSTED_INTERFACE) == 0)
253 return PPB_ImageData_Impl::GetTrustedInterface(); 257 return PPB_ImageData_Impl::GetTrustedInterface();
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 if (retval != 0) { 473 if (retval != 0) {
470 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval; 474 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval;
471 return false; 475 return false;
472 } 476 }
473 return true; 477 return true;
474 } 478 }
475 479
476 } // namespace ppapi 480 } // namespace ppapi
477 } // namespace webkit 481 } // namespace webkit
478 482
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/plugin_delegate.h ('k') | webkit/plugins/ppapi/ppb_flash_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698