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

Side by Side 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: . Created 8 years, 4 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 | « content/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | ppapi/c/private/ppb_flash.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 /** 6 /**
7 * This file contains the <code>PPB_Flash</code> interface. 7 * This file contains the <code>PPB_Flash</code> interface.
8 */ 8 */
9 9
10 label Chrome { 10 label Chrome {
11 M17 = 12.0, 11 M17 = 12.0,
12 M19 = 12.1, 12 M19 = 12.1,
13 M20_0 = 12.2, 13 M20_0 = 12.2,
14 M20_1 = 12.3, 14 M20_1 = 12.3,
15 M21 = 12.4, 15 M21 = 12.4,
16 M22 = 12.5 16 M22_0 = 12.5,
17 M22_1 = 12.6
viettrungluu 2012/07/31 04:54:56 There's no need to rev the API when adding setting
Bernhard Bauer 2012/07/31 05:22:40 Right. That was leftover from an old version where
17 }; 18 };
18 19
19 [assert_size(4)] 20 [assert_size(4)]
21 enum PP_FlashLSORestrictions {
22 /**
23 * No restrictions on Flash LSOs.
24 */
25 PP_FLASHLSORESTRICTIONS_NONE = 1,
26
27 /**
28 * Don't allow access to Flash LSOs.
29 */
30 PP_FLASHLSORESTRICTIONS_BLOCK = 2,
31
32 /**
33 * Store Flash LSOs in memory only.
34 */
35 PP_FLASHLSORESTRICTIONS_IN_MEMORY = 3
36 };
37
38 [assert_size(4)]
20 enum PP_FlashSetting { 39 enum PP_FlashSetting {
21 /** 40 /**
22 * Specifies if the system likely supports 3D hardware acceleration. 41 * Specifies if the system likely supports 3D hardware acceleration.
23 * 42 *
24 * The result is a boolean PP_Var, depending on the supported nature of 3D 43 * The result is a boolean PP_Var, depending on the supported nature of 3D
25 * acceleration. If querying this function returns true, the 3D system will 44 * acceleration. If querying this function returns true, the 3D system will
26 * normally use the native hardware for rendering which will be much faster. 45 * normally use the native hardware for rendering which will be much faster.
27 * 46 *
28 * Having this set to true only means that 3D should be used to draw 2D and 47 * Having this set to true only means that 3D should be used to draw 2D and
29 * video elements. PP_FLASHSETTING_STAGE3D_ENABLED should be checked to 48 * video elements. PP_FLASHSETTING_STAGE3D_ENABLED should be checked to
(...skipping 25 matching lines...) Expand all
55 * 74 *
56 * For example: "en-US" or "de". 75 * For example: "en-US" or "de".
57 * 76 *
58 * Returns an undefined PP_Var on invalid instance. 77 * Returns an undefined PP_Var on invalid instance.
59 */ 78 */
60 PP_FLASHSETTING_LANGUAGE = 4, 79 PP_FLASHSETTING_LANGUAGE = 4,
61 80
62 /** 81 /**
63 * Specifies the number of CPU cores that are present on the system. 82 * Specifies the number of CPU cores that are present on the system.
64 */ 83 */
65 PP_FLASHSETTING_NUMCORES = 5 84 PP_FLASHSETTING_NUMCORES = 5,
85
86 /**
87 * Specifies restrictions on how flash should handle LSOs. The result is an
88 * int from <code>PP_FlashLSORestrictions</code>.
89 */
90 PP_FLASHSETTING_LSORESTRICTIONS = 6
66 }; 91 };
67 92
68 /** 93 /**
69 * This enum provides keys for setting breakpad crash report data. 94 * This enum provides keys for setting breakpad crash report data.
70 */ 95 */
71 [assert_size(4)] 96 [assert_size(4)]
72 enum PP_FlashCrashKey { 97 enum PP_FlashCrashKey {
73 /** 98 /**
74 * Specifies the document URL which contains the flash instance. 99 * Specifies the document URL which contains the flash instance.
75 */ 100 */
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 242
218 /** 243 /**
219 * Allows setting breakpad crash data which will be included in plugin crash 244 * Allows setting breakpad crash data which will be included in plugin crash
220 * reports. Returns PP_FALSE if crash data could not be set. 245 * reports. Returns PP_FALSE if crash data could not be set.
221 */ 246 */
222 [version=12.5] 247 [version=12.5]
223 PP_Bool SetCrashData([in] PP_Instance instance, 248 PP_Bool SetCrashData([in] PP_Instance instance,
224 [in] PP_FlashCrashKey key, 249 [in] PP_FlashCrashKey key,
225 [in] PP_Var value); 250 [in] PP_Var value);
226 }; 251 };
OLDNEW
« 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