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

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: brett 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..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
};
/**
« 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