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

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

Issue 10354004: Move gles2 extensions out of dev. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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/shared_impl/ppb_opengles2_shared.cc ('k') | no next file » | 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 if (strcmp(name, PPB_GPU_BLACKLIST_INTERFACE) == 0) 314 if (strcmp(name, PPB_GPU_BLACKLIST_INTERFACE) == 0)
315 return PPB_GpuBlacklist_Private_Impl::GetInterface(); 315 return PPB_GpuBlacklist_Private_Impl::GetInterface();
316 if (strcmp(name, PPB_GRAPHICS_3D_TRUSTED_INTERFACE_1_0) == 0) 316 if (strcmp(name, PPB_GRAPHICS_3D_TRUSTED_INTERFACE_1_0) == 0)
317 return ::ppapi::thunk::GetPPB_Graphics3DTrusted_1_0_Thunk(); 317 return ::ppapi::thunk::GetPPB_Graphics3DTrusted_1_0_Thunk();
318 if (strcmp(name, PPB_IMAGEDATA_TRUSTED_INTERFACE_0_4) == 0) 318 if (strcmp(name, PPB_IMAGEDATA_TRUSTED_INTERFACE_0_4) == 0)
319 return ::ppapi::thunk::GetPPB_ImageDataTrusted_0_4_Thunk(); 319 return ::ppapi::thunk::GetPPB_ImageDataTrusted_0_4_Thunk();
320 if (strcmp(name, PPB_INPUT_EVENT_INTERFACE_1_0) == 0) 320 if (strcmp(name, PPB_INPUT_EVENT_INTERFACE_1_0) == 0)
321 return ::ppapi::thunk::GetPPB_InputEvent_1_0_Thunk(); 321 return ::ppapi::thunk::GetPPB_InputEvent_1_0_Thunk();
322 if (strcmp(name, PPB_INSTANCE_PRIVATE_INTERFACE_0_1) == 0) 322 if (strcmp(name, PPB_INSTANCE_PRIVATE_INTERFACE_0_1) == 0)
323 return ::ppapi::thunk::GetPPB_Instance_Private_0_1_Thunk(); 323 return ::ppapi::thunk::GetPPB_Instance_Private_0_1_Thunk();
324 if (strcmp(name, PPB_OPENGLES2_INTERFACE) == 0) 324 if (strcmp(name, PPB_OPENGLES2_INTERFACE) == 0)
Wez 2012/05/14 22:33:15 This and the rest of the non-dev PPB_OPENGLES2_<fo
325 return ::ppapi::PPB_OpenGLES2_Shared::GetInterface(); 325 return ::ppapi::PPB_OpenGLES2_Shared::GetInterface();
326 if (strcmp(name, PPB_OPENGLES2_INSTANCEDARRAYS_DEV_INTERFACE) == 0) 326 if (strcmp(name, PPB_OPENGLES2_INSTANCEDARRAYS_INTERFACE) == 0)
327 return ::ppapi::PPB_OpenGLES2_Shared::GetInstancedArraysInterface(); 327 return ::ppapi::PPB_OpenGLES2_Shared::GetInstancedArraysInterface();
328 if (strcmp(name, PPB_OPENGLES2_FRAMEBUFFERBLIT_DEV_INTERFACE) == 0) 328 if (strcmp(name, PPB_OPENGLES2_FRAMEBUFFERBLIT_INTERFACE) == 0)
329 return ::ppapi::PPB_OpenGLES2_Shared::GetFramebufferBlitInterface(); 329 return ::ppapi::PPB_OpenGLES2_Shared::GetFramebufferBlitInterface();
330 if (strcmp(name, PPB_OPENGLES2_FRAMEBUFFERMULTISAMPLE_DEV_INTERFACE) == 0) 330 if (strcmp(name, PPB_OPENGLES2_FRAMEBUFFERMULTISAMPLE_INTERFACE) == 0)
331 return ::ppapi::PPB_OpenGLES2_Shared::GetFramebufferMultisampleInterface(); 331 return ::ppapi::PPB_OpenGLES2_Shared::GetFramebufferMultisampleInterface();
332 if (strcmp(name, PPB_OPENGLES2_CHROMIUMENABLEFEATURE_DEV_INTERFACE) == 0) 332 if (strcmp(name, PPB_OPENGLES2_CHROMIUMENABLEFEATURE_INTERFACE) == 0)
333 return ::ppapi::PPB_OpenGLES2_Shared::GetChromiumEnableFeatureInterface(); 333 return ::ppapi::PPB_OpenGLES2_Shared::GetChromiumEnableFeatureInterface();
334 if (strcmp(name, PPB_OPENGLES2_CHROMIUMMAPSUB_DEV_INTERFACE) == 0) 334 if (strcmp(name, PPB_OPENGLES2_CHROMIUMMAPSUB_INTERFACE) == 0)
335 return ::ppapi::PPB_OpenGLES2_Shared::GetChromiumMapSubInterface(); 335 return ::ppapi::PPB_OpenGLES2_Shared::GetChromiumMapSubInterface();
336 if (strcmp(name, PPB_OPENGLES2_QUERY_DEV_INTERFACE) == 0) 336 if (strcmp(name, PPB_OPENGLES2_CHROMIUMMAPSUB_DEV_INTERFACE_1_0) == 0)
337 return ::ppapi::PPB_OpenGLES2_Shared::GetChromiumMapSubInterface();
338 if (strcmp(name, PPB_OPENGLES2_QUERY_INTERFACE) == 0)
337 return ::ppapi::PPB_OpenGLES2_Shared::GetQueryInterface(); 339 return ::ppapi::PPB_OpenGLES2_Shared::GetQueryInterface();
338 if (strcmp(name, PPB_PROXY_PRIVATE_INTERFACE) == 0) 340 if (strcmp(name, PPB_PROXY_PRIVATE_INTERFACE) == 0)
339 return PPB_Proxy_Impl::GetInterface(); 341 return PPB_Proxy_Impl::GetInterface();
340 if (strcmp(name, PPB_UMA_PRIVATE_INTERFACE) == 0) 342 if (strcmp(name, PPB_UMA_PRIVATE_INTERFACE) == 0)
341 return PPB_UMA_Private_Impl::GetInterface(); 343 return PPB_UMA_Private_Impl::GetInterface();
342 if (strcmp(name, PPB_URLLOADERTRUSTED_INTERFACE_0_3) == 0) 344 if (strcmp(name, PPB_URLLOADERTRUSTED_INTERFACE_0_3) == 0)
343 return ::ppapi::thunk::GetPPB_URLLoaderTrusted_0_3_Thunk(); 345 return ::ppapi::thunk::GetPPB_URLLoaderTrusted_0_3_Thunk();
344 if (strcmp(name, PPB_VAR_DEPRECATED_INTERFACE) == 0) 346 if (strcmp(name, PPB_VAR_DEPRECATED_INTERFACE) == 0)
345 return PPB_Var_Deprecated_Impl::GetVarDeprecatedInterface(); 347 return PPB_Var_Deprecated_Impl::GetVarDeprecatedInterface();
346 if (strcmp(name, PPB_VAR_INTERFACE_1_0) == 0) 348 if (strcmp(name, PPB_VAR_INTERFACE_1_0) == 0)
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 int retval = entry_points.initialize_module(pp_module(), &GetInterface); 593 int retval = entry_points.initialize_module(pp_module(), &GetInterface);
592 if (retval != 0) { 594 if (retval != 0) {
593 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval; 595 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval;
594 return false; 596 return false;
595 } 597 }
596 return true; 598 return true;
597 } 599 }
598 600
599 } // namespace ppapi 601 } // namespace ppapi
600 } // namespace webkit 602 } // namespace webkit
OLDNEW
« no previous file with comments | « ppapi/shared_impl/ppb_opengles2_shared.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698