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 Thu Jan 31 16:23:42 2013. */ | 6 /* From private/ppb_flash.idl modified Thu Mar 28 10:30:53 2013. */ |
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/pp_array_output.h" | 11 #include "ppapi/c/pp_array_output.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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 * Having this set to true only means that 3D should be used to draw 2D and | 65 * Having this set to true only means that 3D should be used to draw 2D and |
66 * video elements. PP_FLASHSETTING_STAGE3D_ENABLED should be checked to | 66 * video elements. PP_FLASHSETTING_STAGE3D_ENABLED should be checked to |
67 * determine if it's ok to use 3D for arbitrary content. | 67 * determine if it's ok to use 3D for arbitrary content. |
68 * | 68 * |
69 * In rare cases (depending on the platform) this value will be true but a | 69 * In rare cases (depending on the platform) this value will be true but a |
70 * created 3D context will use emulation because context initialization | 70 * created 3D context will use emulation because context initialization |
71 * failed. | 71 * failed. |
72 */ | 72 */ |
73 PP_FLASHSETTING_3DENABLED = 1, | 73 PP_FLASHSETTING_3DENABLED = 1, |
74 /** | 74 /** |
75 * Specifies if the given instance is in private/inconito/off-the-record mode | 75 * Specifies if the given instance is in private/incognito/off-the-record mode |
76 * (returns true) or "regular" mode (returns false). Returns an undefined | 76 * (returns true) or "regular" mode (returns false). Returns an undefined |
77 * PP_Var on invalid instance. | 77 * PP_Var on invalid instance. |
78 */ | 78 */ |
79 PP_FLASHSETTING_INCOGNITO = 2, | 79 PP_FLASHSETTING_INCOGNITO = 2, |
80 /** | 80 /** |
81 * Specifies if arbitrary 3d commands are supported (returns true), or if 3d | 81 * Specifies if arbitrary 3d commands are supported (returns true), or if 3d |
82 * should only be used for drawing 2d and video (returns false). | 82 * should only be used for drawing 2d and video (returns false). |
83 * | 83 * |
84 * This should only be enabled if PP_FLASHSETTING_3DENABLED is true. | 84 * This should only be enabled if PP_FLASHSETTING_3DENABLED is true. |
85 */ | 85 */ |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 /** | 175 /** |
176 * Retrieves the local time zone offset from GM time for the given UTC time. | 176 * Retrieves the local time zone offset from GM time for the given UTC time. |
177 */ | 177 */ |
178 double (*GetLocalTimeZoneOffset)(PP_Instance instance, PP_Time t); | 178 double (*GetLocalTimeZoneOffset)(PP_Instance instance, PP_Time t); |
179 /** | 179 /** |
180 * Gets a (string) with "command-line" options for Flash; used to pass | 180 * Gets a (string) with "command-line" options for Flash; used to pass |
181 * run-time debugging parameters, etc. | 181 * run-time debugging parameters, etc. |
182 */ | 182 */ |
183 struct PP_Var (*GetCommandLineArgs)(PP_Module module); | 183 struct PP_Var (*GetCommandLineArgs)(PP_Module module); |
184 /** | 184 /** |
185 * Loads the given font in a more priviledged process on Windows. Call this if | 185 * Loads the given font in a more privileged process on Windows. Call this if |
186 * Windows is giving errors for font calls. See | 186 * Windows is giving errors for font calls. See |
187 * content/renderer/font_cache_dispatcher_win.cc | 187 * content/renderer/font_cache_dispatcher_win.cc |
188 * | 188 * |
189 * The parameter is a pointer to a LOGFONTW structure. | 189 * The parameter is a pointer to a LOGFONTW structure. |
190 * | 190 * |
191 * On non-Windows platforms, this function does nothing. | 191 * On non-Windows platforms, this function does nothing. |
192 */ | 192 */ |
193 void (*PreloadFontWin)(const void* logfontw); | 193 void (*PreloadFontWin)(const void* logfontw); |
194 /** | 194 /** |
195 * Returns whether the given rectangle (in the plugin) is topmost, i.e., above | 195 * Returns whether the given rectangle (in the plugin) is topmost, i.e., above |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 int32_t (*EnumerateVideoCaptureDevices)(PP_Instance instance, | 333 int32_t (*EnumerateVideoCaptureDevices)(PP_Instance instance, |
334 PP_Resource video_capture, | 334 PP_Resource video_capture, |
335 struct PP_ArrayOutput devices); | 335 struct PP_ArrayOutput devices); |
336 }; | 336 }; |
337 /** | 337 /** |
338 * @} | 338 * @} |
339 */ | 339 */ |
340 | 340 |
341 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_H_ */ | 341 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_H_ */ |
342 | 342 |
OLD | NEW |