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

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

Issue 10501006: Connect up flash blacklist entries to GetSettingInt (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clarify comments Created 8 years, 6 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 b7dc4bcb33a1a29dbcbe9b0f696980330e26c721..6279093c65bdb87f4b4e8ff8893569d5e0c3c845 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 Tue May 01 16:01:19 2012. */
+/* From private/ppb_flash.idl modified Mon Jun 04 14:36:17 2012. */
#ifndef PPAPI_C_PRIVATE_PPB_FLASH_H_
#define PPAPI_C_PRIVATE_PPB_FLASH_H_
@@ -46,6 +46,10 @@ typedef enum {
* this function returns 1, the 3D system will normally use the native
* hardware for rendering which will be much faster.
*
+ * Having this set to 1 only means that 3D should be used to draw 2D and
+ * video elements. PP_FLASHSETTING_STAGE3D_ENABLED should be checked to
+ * determine if it's ok to use 3D for arbitrary content.
+ *
* In rare cases (depending on the platform) this value will be 1 but a
* created 3D context will use emulation because context initialization
* failed.
@@ -55,7 +59,14 @@ typedef enum {
* Specifies if the given instance is in private/inconito/off-the-record mode
* (returns 1) or "regular" mode (returns 0). Returns -1 on invalid instance.
*/
- PP_FLASHSETTING_INCOGNITO = 2
+ PP_FLASHSETTING_INCOGNITO = 2,
+ /**
+ * Specifies if arbitrary 3d commands are supported (returns 1), or if 3d
+ * should only be used for drawing 2d and video (returns 0).
+ *
+ * This should only be enabled if PP_FLASHSETTING_3DENABLED is 1.
+ */
+ PP_FLASHSETTING_STAGE3DENABLED = 3
} 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