| 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 { | 
| 11   M17 = 12.0, | 11   M17 = 12.0, | 
| 12   M19 = 12.1, | 12   M19 = 12.1, | 
| 13   M20_0 = 12.2, | 13   M20_0 = 12.2, | 
| 14   M20_1 = 12.3, | 14   M20_1 = 12.3, | 
| 15   M21 = 12.4, | 15   M21 = 12.4, | 
| 16   M22 = 12.5 | 16   M22 = 12.5, | 
|  | 17   M24 = 12.6 | 
| 17 }; | 18 }; | 
| 18 | 19 | 
| 19 [assert_size(4)] | 20 [assert_size(4)] | 
| 20 enum PP_FlashLSORestrictions { | 21 enum PP_FlashLSORestrictions { | 
| 21   /** | 22   /** | 
| 22    * No restrictions on Flash LSOs. | 23    * No restrictions on Flash LSOs. | 
| 23    */ | 24    */ | 
| 24   PP_FLASHLSORESTRICTIONS_NONE = 1, | 25   PP_FLASHLSORESTRICTIONS_NONE = 1, | 
| 25 | 26 | 
| 26   /** | 27   /** | 
| 27    * Don't allow access to Flash LSOs. | 28    * Don't allow access to Flash LSOs. | 
| 28    */ | 29    */ | 
| 29   PP_FLASHLSORESTRICTIONS_BLOCK = 2, | 30   PP_FLASHLSORESTRICTIONS_BLOCK = 2, | 
| 30 | 31 | 
| 31   /** | 32   /** | 
| 32    * Store Flash LSOs in memory only. | 33    * Store Flash LSOs in memory only. | 
| 33    */ | 34    */ | 
| 34   PP_FLASHLSORESTRICTIONS_IN_MEMORY = 3 | 35   PP_FLASHLSORESTRICTIONS_IN_MEMORY = 3 | 
| 35 }; | 36 }; | 
| 36 | 37 | 
| 37 [assert_size(4)] | 38 [assert_size(4)] | 
| 38 enum PP_FlashSetting { | 39 enum PP_FlashSetting { | 
| 39   /** | 40   /** | 
| 40    * Specifies if the system likely supports 3D hardware acceleration. | 41    * Specifies if the system likely supports 3D hardware acceleration. | 
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 74    * For example: "en-US" or "de". | 75    * For example: "en-US" or "de". | 
| 75    * | 76    * | 
| 76    * Returns an undefined PP_Var on invalid instance. | 77    * Returns an undefined PP_Var on invalid instance. | 
| 77    */ | 78    */ | 
| 78   PP_FLASHSETTING_LANGUAGE = 4, | 79   PP_FLASHSETTING_LANGUAGE = 4, | 
| 79 | 80 | 
| 80   /** | 81   /** | 
| 81    * Specifies the number of CPU cores that are present on the system. | 82    * Specifies the number of CPU cores that are present on the system. | 
| 82    */ | 83    */ | 
| 83   PP_FLASHSETTING_NUMCORES = 5, | 84   PP_FLASHSETTING_NUMCORES = 5, | 
| 84 | 85 | 
| 85   /** | 86   /** | 
| 86    * Specifies restrictions on how flash should handle LSOs. The result is an | 87    * Specifies restrictions on how flash should handle LSOs. The result is an | 
| 87    * int from <code>PP_FlashLSORestrictions</code>. | 88    * int from <code>PP_FlashLSORestrictions</code>. | 
| 88    */ | 89    */ | 
| 89   PP_FLASHSETTING_LSORESTRICTIONS = 6 | 90   PP_FLASHSETTING_LSORESTRICTIONS = 6 | 
| 90 }; | 91 }; | 
| 91 | 92 | 
| 92 /** | 93 /** | 
| 93  * This enum provides keys for setting breakpad crash report data. | 94  * This enum provides keys for setting breakpad crash report data. | 
| 94  */ | 95  */ | 
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 240   PP_Var GetSetting(PP_Instance instance, PP_FlashSetting setting); | 241   PP_Var GetSetting(PP_Instance instance, PP_FlashSetting setting); | 
| 241 | 242 | 
| 242   /** | 243   /** | 
| 243    * Allows setting breakpad crash data which will be included in plugin crash | 244    * Allows setting breakpad crash data which will be included in plugin crash | 
| 244    * reports. Returns PP_FALSE if crash data could not be set. | 245    * reports. Returns PP_FALSE if crash data could not be set. | 
| 245    */ | 246    */ | 
| 246   [version=12.5] | 247   [version=12.5] | 
| 247   PP_Bool SetCrashData([in] PP_Instance instance, | 248   PP_Bool SetCrashData([in] PP_Instance instance, | 
| 248                        [in] PP_FlashCrashKey key, | 249                        [in] PP_FlashCrashKey key, | 
| 249                        [in] PP_Var value); | 250                        [in] PP_Var value); | 
|  | 251 | 
|  | 252   /** | 
|  | 253    * Enumerates video capture devices. |video_capture| is a valid | 
|  | 254    * PPB_VideoCapture_Dev resource. Once the operation has completed | 
|  | 255    * successfully, |devices| will be set up with an array of | 
|  | 256    * PPB_DeviceRef_Dev resources. | 
|  | 257    * | 
|  | 258    * PP_OK is returned on success and different pepper error code on failure. | 
|  | 259    * The ref count of the returned |devices| has already been increased by 1 for | 
|  | 260    * the caller. | 
|  | 261    * | 
|  | 262    * NOTE: This method is a synchronous version of |EnumerateDevices| in | 
|  | 263    * PPB_VideoCapture_Dev. | 
|  | 264    */ | 
|  | 265   [version=12.6] | 
|  | 266   int32_t EnumerateVideoCaptureDevices( | 
|  | 267       [in] PP_Instance instance, | 
|  | 268       [in] PP_Resource video_capture, | 
|  | 269       [in] PP_ArrayOutput devices); | 
| 250 }; | 270 }; | 
| OLD | NEW | 
|---|