| 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 /* From pp_errors.idl modified Thu Jan 5 10:52:49 2012. */ | 6 /* From pp_errors.idl modified Tue Mar 13 17:32:37 2012. */ |
| 7 | 7 |
| 8 #ifndef PPAPI_C_PP_ERRORS_H_ | 8 #ifndef PPAPI_C_PP_ERRORS_H_ |
| 9 #define PPAPI_C_PP_ERRORS_H_ | 9 #define PPAPI_C_PP_ERRORS_H_ |
| 10 | 10 |
| 11 #include "ppapi/c/pp_macros.h" | 11 #include "ppapi/c/pp_macros.h" |
| 12 | 12 |
| 13 /** | 13 /** |
| 14 * @file | 14 * @file |
| 15 * This file defines an enumeration of all PPAPI error codes. | 15 * This file defines an enumeration of all PPAPI error codes. |
| 16 */ | 16 */ |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 */ | 104 */ |
| 105 PP_ERROR_FILECHANGED = -23, | 105 PP_ERROR_FILECHANGED = -23, |
| 106 /** This value indicates failure due to a time limit being exceeded. */ | 106 /** This value indicates failure due to a time limit being exceeded. */ |
| 107 PP_ERROR_TIMEDOUT = -30, | 107 PP_ERROR_TIMEDOUT = -30, |
| 108 /** | 108 /** |
| 109 * This value indicates that the user cancelled rather than providing | 109 * This value indicates that the user cancelled rather than providing |
| 110 * expected input. | 110 * expected input. |
| 111 */ | 111 */ |
| 112 PP_ERROR_USERCANCEL = -40, | 112 PP_ERROR_USERCANCEL = -40, |
| 113 /** | 113 /** |
| 114 * This value indicates failure due to lack of a user gesture such as a |
| 115 * mouse click or key input event. Examples of actions requiring a user |
| 116 * gesture are showing the file chooser dialog and going into fullscreen |
| 117 * mode. |
| 118 */ |
| 119 PP_ERROR_NO_USER_GESTURE = -41, |
| 120 /** |
| 114 * This value indicates that the graphics context was lost due to a | 121 * This value indicates that the graphics context was lost due to a |
| 115 * power management event. | 122 * power management event. |
| 116 */ | 123 */ |
| 117 PP_ERROR_CONTEXT_LOST = -50, | 124 PP_ERROR_CONTEXT_LOST = -50, |
| 118 /** | 125 /** |
| 119 * Indicates an attempt to make a PPAPI call on a thread without previously | 126 * Indicates an attempt to make a PPAPI call on a thread without previously |
| 120 * registering a message loop via PPB_MessageLoop.AttachToCurrentThread. | 127 * registering a message loop via PPB_MessageLoop.AttachToCurrentThread. |
| 121 * Without this registration step, no PPAPI calls are supported. | 128 * Without this registration step, no PPAPI calls are supported. |
| 122 */ | 129 */ |
| 123 PP_ERROR_NO_MESSAGE_LOOP = -51, | 130 PP_ERROR_NO_MESSAGE_LOOP = -51, |
| 124 /** | 131 /** |
| 125 * Indicates that the requested operation is not permitted on the current | 132 * Indicates that the requested operation is not permitted on the current |
| 126 * thread. | 133 * thread. |
| 127 */ | 134 */ |
| 128 PP_ERROR_WRONG_THREAD = -52 | 135 PP_ERROR_WRONG_THREAD = -52 |
| 129 }; | 136 }; |
| 130 /** | 137 /** |
| 131 * @} | 138 * @} |
| 132 */ | 139 */ |
| 133 | 140 |
| 134 #endif /* PPAPI_C_PP_ERRORS_H_ */ | 141 #endif /* PPAPI_C_PP_ERRORS_H_ */ |
| 135 | 142 |
| OLD | NEW |