Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 { |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 27 * In rare cases (depending on the platform) this value will be 1 but a | 27 * In rare cases (depending on the platform) this value will be 1 but a |
| 28 * created 3D context will use emulation because context initialization | 28 * created 3D context will use emulation because context initialization |
| 29 * failed. | 29 * failed. |
| 30 */ | 30 */ |
| 31 PP_FLASHSETTING_3DENABLED = 1, | 31 PP_FLASHSETTING_3DENABLED = 1, |
| 32 | 32 |
| 33 /** | 33 /** |
| 34 * Specifies if the given instance is in private/inconito/off-the-record mode | 34 * Specifies if the given instance is in private/inconito/off-the-record mode |
| 35 * (returns 1) or "regular" mode (returns 0). Returns -1 on invalid instance. | 35 * (returns 1) or "regular" mode (returns 0). Returns -1 on invalid instance. |
| 36 */ | 36 */ |
| 37 PP_FLASHSETTING_INCOGNITO = 2 | 37 PP_FLASHSETTING_INCOGNITO = 2, |
| 38 | |
| 39 /** | |
| 40 * Specifies if arbitrary 3d commands are supported (returns 1), or if 3d | |
| 41 * should only be used for drawing 2d and video (returns 0). | |
|
brettw
2012/06/04 21:06:28
Can you be more explicit about how this overlaps w
| |
| 42 */ | |
| 43 PP_FLASHSETTING_STAGE3DENABLED = 3 | |
| 38 }; | 44 }; |
| 39 | 45 |
| 40 /** | 46 /** |
| 41 * The <code>PPB_Flash</code> interface contains pointers to various functions | 47 * The <code>PPB_Flash</code> interface contains pointers to various functions |
| 42 * that are only needed to support Pepper Flash. | 48 * that are only needed to support Pepper Flash. |
| 43 */ | 49 */ |
| 44 interface PPB_Flash { | 50 interface PPB_Flash { |
| 45 /** | 51 /** |
| 46 * Sets or clears the rendering hint that the given plugin instance is always | 52 * Sets or clears the rendering hint that the given plugin instance is always |
| 47 * on top of page content. Somewhat more optimized painting can be used in | 53 * on top of page content. Somewhat more optimized painting can be used in |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 190 struct PP_Var (*GetProxyForURL)(PP_Instance instance, const char* url); | 196 struct PP_Var (*GetProxyForURL)(PP_Instance instance, const char* url); |
| 191 int32_t (*Navigate)(PP_Resource request_info, | 197 int32_t (*Navigate)(PP_Resource request_info, |
| 192 const char* target, | 198 const char* target, |
| 193 bool from_user_action); | 199 bool from_user_action); |
| 194 void (*RunMessageLoop)(PP_Instance instance); | 200 void (*RunMessageLoop)(PP_Instance instance); |
| 195 void (*QuitMessageLoop)(PP_Instance instance); | 201 void (*QuitMessageLoop)(PP_Instance instance); |
| 196 double (*GetLocalTimeZoneOffset)(PP_Instance instance, PP_Time t); | 202 double (*GetLocalTimeZoneOffset)(PP_Instance instance, PP_Time t); |
| 197 struct PP_Var (*GetCommandLineArgs)(PP_Module module); | 203 struct PP_Var (*GetCommandLineArgs)(PP_Module module); |
| 198 }; | 204 }; |
| 199 #endinl | 205 #endinl |
| OLD | NEW |