Chromium Code Reviews
|
| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 #include "webkit/common/plugins/ppapi/ppapi_utils.h" | |
| 5 | |
| 6 #include "ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h" | |
| 7 #include "ppapi/c/dev/ppb_var_deprecated.h" | |
| 8 #include "ppapi/c/ppb_core.h" | |
| 9 #include "ppapi/c/ppb_input_event.h" | |
| 10 #include "ppapi/c/ppb_var.h" | |
| 11 #include "ppapi/c/ppb_var_array_buffer.h" | |
| 12 #include "ppapi/c/private/ppb_content_decryptor_private.h" | |
| 13 #include "ppapi/c/private/ppb_gpu_blacklist_private.h" | |
| 14 #include "ppapi/c/private/ppb_proxy_private.h" | |
| 15 #include "ppapi/c/private/ppb_uma_private.h" | |
| 16 #include "ppapi/thunk/thunk.h" | |
| 17 | |
| 18 namespace webkit { | |
| 19 namespace ppapi { | |
| 20 | |
| 21 bool IsSupportedPepperInterface(const char* name) { | |
|
raymes1
2013/05/21 15:46:29
I misunderstood slightly what you meant. This won'
ananta
2013/05/21 19:20:37
I added the required section back. We cannot share
| |
| 22 // Please keep alphabetized by interface macro name with "special" stuff at | |
| 23 // the bottom. | |
| 24 if (strcmp(name, PPB_AUDIO_TRUSTED_INTERFACE_0_6) == 0) | |
|
jamesr
2013/05/20 23:42:30
think you need #include <cstring> for this to comp
ananta
2013/05/21 19:20:37
Done.
| |
| 25 return true; | |
| 26 if (strcmp(name, PPB_BUFFER_TRUSTED_INTERFACE_0_1) == 0) | |
| 27 return true; | |
| 28 if (strcmp(name, PPB_CORE_INTERFACE_1_0) == 0) | |
| 29 return true; | |
| 30 if (strcmp(name, PPB_GPUBLACKLIST_PRIVATE_INTERFACE) == 0) | |
| 31 return true; | |
| 32 if (strcmp(name, PPB_GRAPHICS_3D_TRUSTED_INTERFACE_1_0) == 0) | |
| 33 return true; | |
| 34 if (strcmp(name, PPB_IMAGEDATA_TRUSTED_INTERFACE_0_4) == 0) | |
| 35 return true; | |
| 36 if (strcmp(name, PPB_INPUT_EVENT_INTERFACE_1_0) == 0) | |
| 37 return true; | |
| 38 if (strcmp(name, PPB_INSTANCE_PRIVATE_INTERFACE_0_1) == 0) | |
| 39 return true; | |
| 40 if (strcmp(name, PPB_OPENGLES2_INTERFACE) == 0) | |
| 41 return true; | |
| 42 if (strcmp(name, PPB_OPENGLES2_INSTANCEDARRAYS_INTERFACE) == 0) | |
| 43 return true; | |
| 44 if (strcmp(name, PPB_OPENGLES2_FRAMEBUFFERBLIT_INTERFACE) == 0) | |
| 45 return true; | |
| 46 if (strcmp(name, PPB_OPENGLES2_FRAMEBUFFERMULTISAMPLE_INTERFACE) == 0) | |
| 47 return true; | |
| 48 if (strcmp(name, PPB_OPENGLES2_CHROMIUMENABLEFEATURE_INTERFACE) == 0) | |
| 49 return true; | |
| 50 if (strcmp(name, PPB_OPENGLES2_CHROMIUMMAPSUB_INTERFACE) == 0) | |
| 51 return true; | |
| 52 if (strcmp(name, PPB_OPENGLES2_CHROMIUMMAPSUB_DEV_INTERFACE_1_0) == 0) | |
| 53 return true; | |
| 54 if (strcmp(name, PPB_OPENGLES2_QUERY_INTERFACE) == 0) | |
| 55 return true; | |
| 56 if (strcmp(name, PPB_PROXY_PRIVATE_INTERFACE) == 0) | |
| 57 return true; | |
| 58 if (strcmp(name, PPB_UMA_PRIVATE_INTERFACE) == 0) | |
| 59 return true; | |
| 60 if (strcmp(name, PPB_VAR_DEPRECATED_INTERFACE) == 0) | |
| 61 return true; | |
| 62 if (strcmp(name, PPB_VAR_INTERFACE_1_0) == 0) | |
| 63 return true; | |
| 64 if (strcmp(name, PPB_VAR_INTERFACE_1_1) == 0) | |
| 65 return true; | |
| 66 if (strcmp(name, PPB_VAR_ARRAY_BUFFER_INTERFACE_1_0) == 0) | |
| 67 return true; | |
| 68 return false; | |
| 69 } | |
| 70 | |
| 71 } // namespace ppapi | |
| 72 } // namespace webkit | |
| OLD | NEW |