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

Side by Side Diff: ppapi/proxy/interface_list.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/ppapi_tests.gypi ('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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 return NULL; 263 return NULL;
264 return found->second.iface; 264 return found->second.iface;
265 } 265 }
266 266
267 void InterfaceList::AddFlashInterfaces() { 267 void InterfaceList::AddFlashInterfaces() {
268 AddProxy(API_ID_PPB_FLASH, &ProxyFactory<PPB_Flash_Proxy>); 268 AddProxy(API_ID_PPB_FLASH, &ProxyFactory<PPB_Flash_Proxy>);
269 AddPPB(PPB_FLASH_INTERFACE_11_0, API_ID_PPB_FLASH, 269 AddPPB(PPB_FLASH_INTERFACE_11_0, API_ID_PPB_FLASH,
270 PPB_Flash_Proxy::GetInterface11()); 270 PPB_Flash_Proxy::GetInterface11());
271 AddPPB(PPB_FLASH_INTERFACE_12_0, API_ID_PPB_FLASH, 271 AddPPB(PPB_FLASH_INTERFACE_12_0, API_ID_PPB_FLASH,
272 PPB_Flash_Proxy::GetInterface12_0()); 272 PPB_Flash_Proxy::GetInterface12_0());
273 AddPPB(PPB_FLASH_INTERFACE_12_1, API_ID_PPB_FLASH,
274 PPB_Flash_Proxy::GetInterface12_1());
273 275
274 AddProxy(API_ID_PPB_FLASH_CLIPBOARD, 276 AddProxy(API_ID_PPB_FLASH_CLIPBOARD,
275 &ProxyFactory<PPB_Flash_Clipboard_Proxy>); 277 &ProxyFactory<PPB_Flash_Clipboard_Proxy>);
276 AddPPB(PPB_FLASH_CLIPBOARD_INTERFACE_3_0, API_ID_PPB_FLASH_CLIPBOARD, 278 AddPPB(PPB_FLASH_CLIPBOARD_INTERFACE_3_0, API_ID_PPB_FLASH_CLIPBOARD,
277 thunk::GetPPB_Flash_Clipboard_3_0_Thunk()); 279 thunk::GetPPB_Flash_Clipboard_3_0_Thunk());
278 AddPPB(PPB_FLASH_CLIPBOARD_INTERFACE_3_LEGACY, API_ID_PPB_FLASH_CLIPBOARD, 280 AddPPB(PPB_FLASH_CLIPBOARD_INTERFACE_3_LEGACY, API_ID_PPB_FLASH_CLIPBOARD,
279 thunk::GetPPB_Flash_Clipboard_3_0_Thunk()); 281 thunk::GetPPB_Flash_Clipboard_3_0_Thunk());
280 282
281 AddProxy(API_ID_PPB_FLASH_FILE_FILEREF, 283 AddProxy(API_ID_PPB_FLASH_FILE_FILEREF,
282 &ProxyFactory<PPB_Flash_File_FileRef_Proxy>); 284 &ProxyFactory<PPB_Flash_File_FileRef_Proxy>);
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 AddPPB(info->name, info->id, info->interface_ptr); 347 AddPPB(info->name, info->id, info->interface_ptr);
346 } 348 }
347 349
348 void InterfaceList::AddPPP(const InterfaceProxy::Info* info) { 350 void InterfaceList::AddPPP(const InterfaceProxy::Info* info) {
349 AddProxy(info->id, info->create_proxy); 351 AddProxy(info->id, info->create_proxy);
350 AddPPP(info->name, info->id, info->interface_ptr); 352 AddPPP(info->name, info->id, info->interface_ptr);
351 } 353 }
352 354
353 } // namespace proxy 355 } // namespace proxy
354 } // namespace ppapi 356 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/ppapi_tests.gypi ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698