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..d9167b94ee7a58fca1c1b9f9797110e1f6c92155 100644 |
--- a/ppapi/api/private/ppb_flash.idl |
+++ b/ppapi/api/private/ppb_flash.idl |
@@ -13,7 +13,26 @@ label Chrome { |
M20_0 = 12.2, |
M20_1 = 12.3, |
M21 = 12.4, |
- M22 = 12.5 |
+ M22_0 = 12.5, |
+ M22_1 = 12.6 |
viettrungluu
2012/07/31 04:54:56
There's no need to rev the API when adding setting
Bernhard Bauer
2012/07/31 05:22:40
Right. That was leftover from an old version where
|
+}; |
+ |
+[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)] |
@@ -62,7 +81,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 |
}; |
/** |