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

Side by Side Diff: ppapi/proxy/interface_list.cc

Issue 9212066: Modified the flash cipboard interface to add html clipboard support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 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/cpp/private/flash_clipboard.cc ('k') | ppapi/proxy/ppapi_messages.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 "ppapi/proxy/interface_list.h" 5 #include "ppapi/proxy/interface_list.h"
6 6
7 #include "base/memory/singleton.h" 7 #include "base/memory/singleton.h"
8 #include "ppapi/c/dev/ppb_audio_input_dev.h" 8 #include "ppapi/c/dev/ppb_audio_input_dev.h"
9 #include "ppapi/c/dev/ppb_buffer_dev.h" 9 #include "ppapi/c/dev/ppb_buffer_dev.h"
10 #include "ppapi/c/dev/ppb_char_set_dev.h" 10 #include "ppapi/c/dev/ppb_char_set_dev.h"
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 AddProxy(API_ID_PPB_FLASH, &ProxyFactory<PPB_Flash_Proxy>); 269 AddProxy(API_ID_PPB_FLASH, &ProxyFactory<PPB_Flash_Proxy>);
270 AddPPB(PPB_FLASH_INTERFACE_11_0, API_ID_PPB_FLASH, 270 AddPPB(PPB_FLASH_INTERFACE_11_0, API_ID_PPB_FLASH,
271 PPB_Flash_Proxy::GetInterface11()); 271 PPB_Flash_Proxy::GetInterface11());
272 AddPPB(PPB_FLASH_INTERFACE_12_0, API_ID_PPB_FLASH, 272 AddPPB(PPB_FLASH_INTERFACE_12_0, API_ID_PPB_FLASH,
273 PPB_Flash_Proxy::GetInterface12_0()); 273 PPB_Flash_Proxy::GetInterface12_0());
274 AddPPB(PPB_FLASH_INTERFACE_12_1, API_ID_PPB_FLASH, 274 AddPPB(PPB_FLASH_INTERFACE_12_1, API_ID_PPB_FLASH,
275 PPB_Flash_Proxy::GetInterface12_1()); 275 PPB_Flash_Proxy::GetInterface12_1());
276 276
277 AddProxy(API_ID_PPB_FLASH_CLIPBOARD, 277 AddProxy(API_ID_PPB_FLASH_CLIPBOARD,
278 &ProxyFactory<PPB_Flash_Clipboard_Proxy>); 278 &ProxyFactory<PPB_Flash_Clipboard_Proxy>);
279 AddPPB(PPB_FLASH_CLIPBOARD_INTERFACE_4_0, API_ID_PPB_FLASH_CLIPBOARD,
280 thunk::GetPPB_Flash_Clipboard_4_0_Thunk());
279 AddPPB(PPB_FLASH_CLIPBOARD_INTERFACE_3_0, API_ID_PPB_FLASH_CLIPBOARD, 281 AddPPB(PPB_FLASH_CLIPBOARD_INTERFACE_3_0, API_ID_PPB_FLASH_CLIPBOARD,
280 thunk::GetPPB_Flash_Clipboard_3_0_Thunk()); 282 thunk::GetPPB_Flash_Clipboard_3_0_Thunk());
281 AddPPB(PPB_FLASH_CLIPBOARD_INTERFACE_3_LEGACY, API_ID_PPB_FLASH_CLIPBOARD, 283 AddPPB(PPB_FLASH_CLIPBOARD_INTERFACE_3_LEGACY, API_ID_PPB_FLASH_CLIPBOARD,
282 thunk::GetPPB_Flash_Clipboard_3_0_Thunk()); 284 thunk::GetPPB_Flash_Clipboard_3_0_Thunk());
283 285
284 AddProxy(API_ID_PPB_FLASH_FILE_FILEREF, 286 AddProxy(API_ID_PPB_FLASH_FILE_FILEREF,
285 &ProxyFactory<PPB_Flash_File_FileRef_Proxy>); 287 &ProxyFactory<PPB_Flash_File_FileRef_Proxy>);
286 AddPPB(PPB_FLASH_FILE_FILEREF_INTERFACE, API_ID_PPB_FLASH_FILE_FILEREF, 288 AddPPB(PPB_FLASH_FILE_FILEREF_INTERFACE, API_ID_PPB_FLASH_FILE_FILEREF,
287 PPB_Flash_File_FileRef_Proxy::GetInterface()); 289 PPB_Flash_File_FileRef_Proxy::GetInterface());
288 290
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 AddPPB(info->name, info->id, info->interface_ptr); 350 AddPPB(info->name, info->id, info->interface_ptr);
349 } 351 }
350 352
351 void InterfaceList::AddPPP(const InterfaceProxy::Info* info) { 353 void InterfaceList::AddPPP(const InterfaceProxy::Info* info) {
352 AddProxy(info->id, info->create_proxy); 354 AddProxy(info->id, info->create_proxy);
353 AddPPP(info->name, info->id, info->interface_ptr); 355 AddPPP(info->name, info->id, info->interface_ptr);
354 } 356 }
355 357
356 } // namespace proxy 358 } // namespace proxy
357 } // namespace ppapi 359 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/cpp/private/flash_clipboard.cc ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698