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

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

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 | « content/common/view_messages.h ('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 a08c4d001c8fce83efa10c8accc74b45683e6d32..d5d032ee4ec374406854841c9b3310dbbc499c0b 100644
--- a/ppapi/api/private/ppb_flash.idl
+++ b/ppapi/api/private/ppb_flash.idl
@@ -24,6 +24,10 @@ enum PP_FlashSetting {
* 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.
@@ -34,7 +38,15 @@ enum PP_FlashSetting {
* 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
};
/**
« no previous file with comments | « content/common/view_messages.h ('k') | ppapi/c/private/ppb_flash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698