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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/api/private/ppb_flash.idl ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /* From private/ppb_flash.idl modified Tue May 01 16:01:19 2012. */ 6 /* From private/ppb_flash.idl modified Mon Jun 04 14:36:17 2012. */
7 7
8 #ifndef PPAPI_C_PRIVATE_PPB_FLASH_H_ 8 #ifndef PPAPI_C_PRIVATE_PPB_FLASH_H_
9 #define PPAPI_C_PRIVATE_PPB_FLASH_H_ 9 #define PPAPI_C_PRIVATE_PPB_FLASH_H_
10 10
11 #include "ppapi/c/dev/ppb_font_dev.h" 11 #include "ppapi/c/dev/ppb_font_dev.h"
12 #include "ppapi/c/pp_bool.h" 12 #include "ppapi/c/pp_bool.h"
13 #include "ppapi/c/pp_instance.h" 13 #include "ppapi/c/pp_instance.h"
14 #include "ppapi/c/pp_macros.h" 14 #include "ppapi/c/pp_macros.h"
15 #include "ppapi/c/pp_module.h" 15 #include "ppapi/c/pp_module.h"
16 #include "ppapi/c/pp_point.h" 16 #include "ppapi/c/pp_point.h"
(...skipping 22 matching lines...) Expand all
39 */ 39 */
40 typedef enum { 40 typedef enum {
41 /** 41 /**
42 * Specifies if the system likely supports 3D hardware acceleration. 42 * Specifies if the system likely supports 3D hardware acceleration.
43 * 43 *
44 * The result is an int where 1 corresponds to true and 0 corresponds to 44 * The result is an int where 1 corresponds to true and 0 corresponds to
45 * false, depending on the supported nature of 3D acceleration. If querying 45 * false, depending on the supported nature of 3D acceleration. If querying
46 * this function returns 1, the 3D system will normally use the native 46 * this function returns 1, the 3D system will normally use the native
47 * hardware for rendering which will be much faster. 47 * hardware for rendering which will be much faster.
48 * 48 *
49 * Having this set to 1 only means that 3D should be used to draw 2D and
50 * video elements. PP_FLASHSETTING_STAGE3D_ENABLED should be checked to
51 * determine if it's ok to use 3D for arbitrary content.
52 *
49 * In rare cases (depending on the platform) this value will be 1 but a 53 * In rare cases (depending on the platform) this value will be 1 but a
50 * created 3D context will use emulation because context initialization 54 * created 3D context will use emulation because context initialization
51 * failed. 55 * failed.
52 */ 56 */
53 PP_FLASHSETTING_3DENABLED = 1, 57 PP_FLASHSETTING_3DENABLED = 1,
54 /** 58 /**
55 * Specifies if the given instance is in private/inconito/off-the-record mode 59 * Specifies if the given instance is in private/inconito/off-the-record mode
56 * (returns 1) or "regular" mode (returns 0). Returns -1 on invalid instance. 60 * (returns 1) or "regular" mode (returns 0). Returns -1 on invalid instance.
57 */ 61 */
58 PP_FLASHSETTING_INCOGNITO = 2 62 PP_FLASHSETTING_INCOGNITO = 2,
63 /**
64 * Specifies if arbitrary 3d commands are supported (returns 1), or if 3d
65 * should only be used for drawing 2d and video (returns 0).
66 *
67 * This should only be enabled if PP_FLASHSETTING_3DENABLED is 1.
68 */
69 PP_FLASHSETTING_STAGE3DENABLED = 3
59 } PP_FlashSetting; 70 } PP_FlashSetting;
60 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FlashSetting, 4); 71 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FlashSetting, 4);
61 /** 72 /**
62 * @} 73 * @}
63 */ 74 */
64 75
65 /** 76 /**
66 * @addtogroup Interfaces 77 * @addtogroup Interfaces
67 * @{ 78 * @{
68 */ 79 */
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 int32_t (*Navigate)(PP_Resource request_info, 280 int32_t (*Navigate)(PP_Resource request_info,
270 const char* target, 281 const char* target,
271 bool from_user_action); 282 bool from_user_action);
272 void (*RunMessageLoop)(PP_Instance instance); 283 void (*RunMessageLoop)(PP_Instance instance);
273 void (*QuitMessageLoop)(PP_Instance instance); 284 void (*QuitMessageLoop)(PP_Instance instance);
274 double (*GetLocalTimeZoneOffset)(PP_Instance instance, PP_Time t); 285 double (*GetLocalTimeZoneOffset)(PP_Instance instance, PP_Time t);
275 struct PP_Var (*GetCommandLineArgs)(PP_Module module); 286 struct PP_Var (*GetCommandLineArgs)(PP_Module module);
276 }; 287 };
277 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_H_ */ 288 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_H_ */
278 289
OLDNEW
« 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