| OLD | NEW |
| 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 | 5 |
| 6 /* From private/ppb_flash.idl modified Tue May 01 16:01:19 2012. */ | 6 /* From private/ppb_flash.idl modified Wed May 30 16:02:49 2012. */ |
| 7 | 7 |
| 8 #ifndef PPAPI_C_PRIVATE_PPB_FLASH_H_ | 8 #ifndef PPAPI_C_PRIVATE_PPB_FLASH_H_ |
| 9 #define PPAPI_C_PRIVATE_PPB_FLASH_H_ | 9 #define PPAPI_C_PRIVATE_PPB_FLASH_H_ |
| 10 | 10 |
| 11 #include "ppapi/c/dev/ppb_font_dev.h" | 11 #include "ppapi/c/dev/ppb_font_dev.h" |
| 12 #include "ppapi/c/pp_bool.h" | 12 #include "ppapi/c/pp_bool.h" |
| 13 #include "ppapi/c/pp_instance.h" | 13 #include "ppapi/c/pp_instance.h" |
| 14 #include "ppapi/c/pp_macros.h" | 14 #include "ppapi/c/pp_macros.h" |
| 15 #include "ppapi/c/pp_module.h" | 15 #include "ppapi/c/pp_module.h" |
| 16 #include "ppapi/c/pp_point.h" | 16 #include "ppapi/c/pp_point.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 * | 48 * |
| 49 * In rare cases (depending on the platform) this value will be 1 but a | 49 * In rare cases (depending on the platform) this value will be 1 but a |
| 50 * created 3D context will use emulation because context initialization | 50 * created 3D context will use emulation because context initialization |
| 51 * failed. | 51 * failed. |
| 52 */ | 52 */ |
| 53 PP_FLASHSETTING_3DENABLED = 1, | 53 PP_FLASHSETTING_3DENABLED = 1, |
| 54 /** | 54 /** |
| 55 * Specifies if the given instance is in private/inconito/off-the-record mode | 55 * Specifies if the given instance is in private/inconito/off-the-record mode |
| 56 * (returns 1) or "regular" mode (returns 0). Returns -1 on invalid instance. | 56 * (returns 1) or "regular" mode (returns 0). Returns -1 on invalid instance. |
| 57 */ | 57 */ |
| 58 PP_FLASHSETTING_INCOGNITO = 2 | 58 PP_FLASHSETTING_INCOGNITO = 2, |
| 59 /** |
| 60 * Specifies if arbitrary 3d commands are supported (returns 1), or if 3d |
| 61 * should only be used for drawing 2d and video (returns 0). |
| 62 */ |
| 63 PP_FLASHSETTING_STAGE3DENABLED = 3 |
| 59 } PP_FlashSetting; | 64 } PP_FlashSetting; |
| 60 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FlashSetting, 4); | 65 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FlashSetting, 4); |
| 61 /** | 66 /** |
| 62 * @} | 67 * @} |
| 63 */ | 68 */ |
| 64 | 69 |
| 65 /** | 70 /** |
| 66 * @addtogroup Interfaces | 71 * @addtogroup Interfaces |
| 67 * @{ | 72 * @{ |
| 68 */ | 73 */ |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 int32_t (*Navigate)(PP_Resource request_info, | 274 int32_t (*Navigate)(PP_Resource request_info, |
| 270 const char* target, | 275 const char* target, |
| 271 bool from_user_action); | 276 bool from_user_action); |
| 272 void (*RunMessageLoop)(PP_Instance instance); | 277 void (*RunMessageLoop)(PP_Instance instance); |
| 273 void (*QuitMessageLoop)(PP_Instance instance); | 278 void (*QuitMessageLoop)(PP_Instance instance); |
| 274 double (*GetLocalTimeZoneOffset)(PP_Instance instance, PP_Time t); | 279 double (*GetLocalTimeZoneOffset)(PP_Instance instance, PP_Time t); |
| 275 struct PP_Var (*GetCommandLineArgs)(PP_Module module); | 280 struct PP_Var (*GetCommandLineArgs)(PP_Module module); |
| 276 }; | 281 }; |
| 277 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_H_ */ | 282 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_H_ */ |
| 278 | 283 |
| OLD | NEW |