Index: ppapi/api/private/ppb_flash.idl |
diff --git a/ppapi/api/private/ppb_flash.idl b/ppapi/api/private/ppb_flash.idl |
index 12b44b28ca61d996e2cee9f4a496669e1a36a76f..c5423d3cbe6763628ac92d2aee81c74860bf79cb 100644 |
--- a/ppapi/api/private/ppb_flash.idl |
+++ b/ppapi/api/private/ppb_flash.idl |
@@ -17,6 +17,24 @@ label Chrome { |
}; |
[assert_size(4)] |
+enum PP_FlashLSORestrictions { |
+ /** |
+ * 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 |
+}; |
+ |
+[assert_size(4)] |
enum PP_FlashSetting { |
/** |
* Specifies if the system likely supports 3D hardware acceleration. |
@@ -62,7 +80,13 @@ enum PP_FlashSetting { |
/** |
* 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 |
}; |
/** |