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

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

Issue 9466042: Revert 123696 - Add Pepper support for several GL extensions (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/ppapi_shared.gypi ('k') | ppapi/shared_impl/ppb_graphics_3d_shared.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"
11 #include "ppapi/c/dev/ppb_console_dev.h" 11 #include "ppapi/c/dev/ppb_console_dev.h"
12 #include "ppapi/c/dev/ppb_crypto_dev.h" 12 #include "ppapi/c/dev/ppb_crypto_dev.h"
13 #include "ppapi/c/dev/ppb_cursor_control_dev.h" 13 #include "ppapi/c/dev/ppb_cursor_control_dev.h"
14 #include "ppapi/c/dev/ppb_device_ref_dev.h" 14 #include "ppapi/c/dev/ppb_device_ref_dev.h"
15 #include "ppapi/c/dev/ppb_font_dev.h" 15 #include "ppapi/c/dev/ppb_font_dev.h"
16 #include "ppapi/c/dev/ppb_fullscreen_dev.h" 16 #include "ppapi/c/dev/ppb_fullscreen_dev.h"
17 #include "ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h"
17 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" 18 #include "ppapi/c/dev/ppb_ime_input_event_dev.h"
18 #include "ppapi/c/dev/ppb_keyboard_input_event_dev.h" 19 #include "ppapi/c/dev/ppb_keyboard_input_event_dev.h"
19 #include "ppapi/c/dev/ppb_memory_dev.h" 20 #include "ppapi/c/dev/ppb_memory_dev.h"
20 #include "ppapi/c/dev/ppb_message_loop_dev.h" 21 #include "ppapi/c/dev/ppb_message_loop_dev.h"
21 #include "ppapi/c/dev/ppb_opengles2ext_dev.h"
22 #include "ppapi/c/dev/ppb_resource_array_dev.h" 22 #include "ppapi/c/dev/ppb_resource_array_dev.h"
23 #include "ppapi/c/dev/ppb_testing_dev.h" 23 #include "ppapi/c/dev/ppb_testing_dev.h"
24 #include "ppapi/c/dev/ppb_text_input_dev.h" 24 #include "ppapi/c/dev/ppb_text_input_dev.h"
25 #include "ppapi/c/dev/ppb_url_util_dev.h" 25 #include "ppapi/c/dev/ppb_url_util_dev.h"
26 #include "ppapi/c/dev/ppb_var_deprecated.h" 26 #include "ppapi/c/dev/ppb_var_deprecated.h"
27 #include "ppapi/c/dev/ppb_video_capture_dev.h" 27 #include "ppapi/c/dev/ppb_video_capture_dev.h"
28 #include "ppapi/c/ppb_audio_config.h" 28 #include "ppapi/c/ppb_audio_config.h"
29 #include "ppapi/c/ppb_audio.h" 29 #include "ppapi/c/ppb_audio.h"
30 #include "ppapi/c/ppb_core.h" 30 #include "ppapi/c/ppb_core.h"
31 #include "ppapi/c/ppb_file_io.h" 31 #include "ppapi/c/ppb_file_io.h"
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 // for message routing. Others have different implementations between the 173 // for message routing. Others have different implementations between the
174 // proxy and the impl and there's no obvious message routing. 174 // proxy and the impl and there's no obvious message routing.
175 AddProxy(API_ID_RESOURCE_CREATION, &ResourceCreationProxy::Create); 175 AddProxy(API_ID_RESOURCE_CREATION, &ResourceCreationProxy::Create);
176 AddProxy(API_ID_PPP_CLASS, &PPP_Class_Proxy::Create); 176 AddProxy(API_ID_PPP_CLASS, &PPP_Class_Proxy::Create);
177 AddPPB(PPB_CORE_INTERFACE_1_0, API_ID_PPB_CORE, 177 AddPPB(PPB_CORE_INTERFACE_1_0, API_ID_PPB_CORE,
178 PPB_Core_Proxy::GetPPB_Core_Interface()); 178 PPB_Core_Proxy::GetPPB_Core_Interface());
179 AddPPB(PPB_MESSAGELOOP_DEV_INTERFACE_0_1, API_ID_NONE, 179 AddPPB(PPB_MESSAGELOOP_DEV_INTERFACE_0_1, API_ID_NONE,
180 PPB_MessageLoop_Proxy::GetInterface()); 180 PPB_MessageLoop_Proxy::GetInterface());
181 AddPPB(PPB_OPENGLES2_INTERFACE_1_0, API_ID_NONE, 181 AddPPB(PPB_OPENGLES2_INTERFACE_1_0, API_ID_NONE,
182 PPB_OpenGLES2_Shared::GetInterface()); 182 PPB_OpenGLES2_Shared::GetInterface());
183 AddPPB(PPB_OPENGLES2_INSTANCEDARRAYS_DEV_INTERFACE_1_0, API_ID_NONE,
184 PPB_OpenGLES2_Shared::GetInstancedArraysInterface());
185 AddPPB(PPB_OPENGLES2_FRAMEBUFFERBLIT_DEV_INTERFACE_1_0, API_ID_NONE,
186 PPB_OpenGLES2_Shared::GetFramebufferBlitInterface());
187 AddPPB(PPB_OPENGLES2_FRAMEBUFFERMULTISAMPLE_DEV_INTERFACE_1_0, API_ID_NONE,
188 PPB_OpenGLES2_Shared::GetFramebufferMultisampleInterface());
189 AddPPB(PPB_OPENGLES2_CHROMIUMENABLEFEATURE_DEV_INTERFACE_1_0, API_ID_NONE,
190 PPB_OpenGLES2_Shared::GetChromiumEnableFeatureInterface());
191 AddPPB(PPB_OPENGLES2_CHROMIUMMAPSUB_DEV_INTERFACE_1_0, API_ID_NONE,
192 PPB_OpenGLES2_Shared::GetChromiumMapSubInterface());
193 AddPPB(PPB_VAR_ARRAY_BUFFER_INTERFACE_1_0, API_ID_NONE, 183 AddPPB(PPB_VAR_ARRAY_BUFFER_INTERFACE_1_0, API_ID_NONE,
194 PPB_Var_Shared::GetVarArrayBufferInterface1_0()); 184 PPB_Var_Shared::GetVarArrayBufferInterface1_0());
195 AddPPB(PPB_VAR_INTERFACE_1_1, API_ID_NONE, 185 AddPPB(PPB_VAR_INTERFACE_1_1, API_ID_NONE,
196 PPB_Var_Shared::GetVarInterface1_1()); 186 PPB_Var_Shared::GetVarInterface1_1());
197 AddPPB(PPB_VAR_INTERFACE_1_0, API_ID_NONE, 187 AddPPB(PPB_VAR_INTERFACE_1_0, API_ID_NONE,
198 PPB_Var_Shared::GetVarInterface1_0()); 188 PPB_Var_Shared::GetVarInterface1_0());
199 189
200 AddFlashInterfaces(); 190 AddFlashInterfaces();
201 191
202 // PPB (browser) interfaces. 192 // PPB (browser) interfaces.
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 AddPPB(info->name, info->id, info->interface_ptr); 350 AddPPB(info->name, info->id, info->interface_ptr);
361 } 351 }
362 352
363 void InterfaceList::AddPPP(const InterfaceProxy::Info* info) { 353 void InterfaceList::AddPPP(const InterfaceProxy::Info* info) {
364 AddProxy(info->id, info->create_proxy); 354 AddProxy(info->id, info->create_proxy);
365 AddPPP(info->name, info->id, info->interface_ptr); 355 AddPPP(info->name, info->id, info->interface_ptr);
366 } 356 }
367 357
368 } // namespace proxy 358 } // namespace proxy
369 } // namespace ppapi 359 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/ppapi_shared.gypi ('k') | ppapi/shared_impl/ppb_graphics_3d_shared.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698