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 /** | 6 /** |
7 * This file contains the <code>PPB_Flash</code> interface. | 7 * This file contains the <code>PPB_Flash</code> interface. |
8 */ | 8 */ |
9 | 9 |
10 label Chrome { | 10 label Chrome { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 * video elements. PP_FLASHSETTING_STAGE3D_ENABLED should be checked to | 45 * video elements. PP_FLASHSETTING_STAGE3D_ENABLED should be checked to |
46 * determine if it's ok to use 3D for arbitrary content. | 46 * determine if it's ok to use 3D for arbitrary content. |
47 * | 47 * |
48 * In rare cases (depending on the platform) this value will be true but a | 48 * In rare cases (depending on the platform) this value will be true but a |
49 * created 3D context will use emulation because context initialization | 49 * created 3D context will use emulation because context initialization |
50 * failed. | 50 * failed. |
51 */ | 51 */ |
52 PP_FLASHSETTING_3DENABLED = 1, | 52 PP_FLASHSETTING_3DENABLED = 1, |
53 | 53 |
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/incognito/off-the-record mode |
56 * (returns true) or "regular" mode (returns false). Returns an undefined | 56 * (returns true) or "regular" mode (returns false). Returns an undefined |
57 * PP_Var on invalid instance. | 57 * PP_Var on invalid instance. |
58 */ | 58 */ |
59 PP_FLASHSETTING_INCOGNITO = 2, | 59 PP_FLASHSETTING_INCOGNITO = 2, |
60 | 60 |
61 /** | 61 /** |
62 * Specifies if arbitrary 3d commands are supported (returns true), or if 3d | 62 * Specifies if arbitrary 3d commands are supported (returns true), or if 3d |
63 * should only be used for drawing 2d and video (returns false). | 63 * should only be used for drawing 2d and video (returns false). |
64 * | 64 * |
65 * This should only be enabled if PP_FLASHSETTING_3DENABLED is true. | 65 * This should only be enabled if PP_FLASHSETTING_3DENABLED is true. |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 [in] PP_Time t); | 180 [in] PP_Time t); |
181 | 181 |
182 /** | 182 /** |
183 * Gets a (string) with "command-line" options for Flash; used to pass | 183 * Gets a (string) with "command-line" options for Flash; used to pass |
184 * run-time debugging parameters, etc. | 184 * run-time debugging parameters, etc. |
185 */ | 185 */ |
186 PP_Var GetCommandLineArgs( | 186 PP_Var GetCommandLineArgs( |
187 [in] PP_Module module); | 187 [in] PP_Module module); |
188 | 188 |
189 /** | 189 /** |
190 * Loads the given font in a more priviledged process on Windows. Call this if | 190 * Loads the given font in a more privileged process on Windows. Call this if |
191 * Windows is giving errors for font calls. See | 191 * Windows is giving errors for font calls. See |
192 * content/renderer/font_cache_dispatcher_win.cc | 192 * content/renderer/font_cache_dispatcher_win.cc |
193 * | 193 * |
194 * The parameter is a pointer to a LOGFONTW structure. | 194 * The parameter is a pointer to a LOGFONTW structure. |
195 * | 195 * |
196 * On non-Windows platforms, this function does nothing. | 196 * On non-Windows platforms, this function does nothing. |
197 */ | 197 */ |
198 void PreloadFontWin( | 198 void PreloadFontWin( |
199 [in] mem_t logfontw); | 199 [in] mem_t logfontw); |
200 | 200 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 * | 260 * |
261 * NOTE: This method is a synchronous version of |EnumerateDevices| in | 261 * NOTE: This method is a synchronous version of |EnumerateDevices| in |
262 * PPB_VideoCapture_Dev. | 262 * PPB_VideoCapture_Dev. |
263 */ | 263 */ |
264 [version=12.6] | 264 [version=12.6] |
265 int32_t EnumerateVideoCaptureDevices( | 265 int32_t EnumerateVideoCaptureDevices( |
266 [in] PP_Instance instance, | 266 [in] PP_Instance instance, |
267 [in] PP_Resource video_capture, | 267 [in] PP_Resource video_capture, |
268 [in] PP_ArrayOutput devices); | 268 [in] PP_ArrayOutput devices); |
269 }; | 269 }; |
OLD | NEW |