Index: ppapi/c/private/ppb_flash.h |
diff --git a/ppapi/c/private/ppb_flash.h b/ppapi/c/private/ppb_flash.h |
index 8d52f0211c91024806225c962c7077d86ff6d43a..de2ccb1a5897ffaba7759c03426064159f8545e0 100644 |
--- a/ppapi/c/private/ppb_flash.h |
+++ b/ppapi/c/private/ppb_flash.h |
@@ -3,7 +3,7 @@ |
* found in the LICENSE file. |
*/ |
-/* From private/ppb_flash.idl modified Mon Jun 25 12:46:59 2012. */ |
+/* From private/ppb_flash.idl modified Mon Jul 30 22:15:54 2012. */ |
#ifndef PPAPI_C_PRIVATE_PPB_FLASH_H_ |
#define PPAPI_C_PRIVATE_PPB_FLASH_H_ |
@@ -41,6 +41,22 @@ |
*/ |
typedef enum { |
/** |
+ * No restrictions on Flash LSOs. |
+ */ |
+ PP_FLASHLSORESTRICTIONS_NONE = 1, |
+ /** |
+ * Don't allow access to Flash LSOs. |
+ */ |
+ PP_FLASHLSORESTRICTIONS_BLOCK = 2, |
+ /** |
+ * Store Flash LSOs in memory only. |
+ */ |
+ PP_FLASHLSORESTRICTIONS_IN_MEMORY = 3 |
+} PP_FlashLSORestrictions; |
+PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FlashLSORestrictions, 4); |
+ |
+typedef enum { |
+ /** |
* Specifies if the system likely supports 3D hardware acceleration. |
* |
* The result is a boolean PP_Var, depending on the supported nature of 3D |
@@ -80,7 +96,12 @@ typedef enum { |
/** |
* Specifies the number of CPU cores that are present on the system. |
*/ |
- PP_FLASHSETTING_NUMCORES = 5 |
+ PP_FLASHSETTING_NUMCORES = 5, |
+ /** |
+ * Specifies restrictions on how flash should handle LSOs. The result is an |
+ * int from <code>PP_FlashLSORestrictions</code>. |
+ */ |
+ PP_FLASHSETTING_LSORESTRICTIONS = 6 |
} PP_FlashSetting; |
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FlashSetting, 4); |