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

Unified Diff: ppapi/c/private/ppb_flash.h

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 | « ppapi/api/private/ppb_flash.idl ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « ppapi/api/private/ppb_flash.idl ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698