Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Unified Diff: ppapi/api/private/ppb_flash.idl

Issue 10831045: Add PP_FlashLSORestrictions to the list of settings supported by the Flash_GetSetting Pepper API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | ppapi/c/private/ppb_flash.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
};
/**
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | ppapi/c/private/ppb_flash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698