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 defines an enumeration of all PPAPI error codes. | 7 * This file defines an enumeration of all PPAPI error codes. |
8 */ | 8 */ |
9 | 9 |
10 /** | 10 /** |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 that the graphics context was lost due to a | 114 * This value indicates that the graphics context was lost due to a |
115 * power management event. | 115 * power management event. |
116 */ | 116 */ |
117 PP_ERROR_CONTEXT_LOST = -50 | 117 PP_ERROR_CONTEXT_LOST = -50, |
| 118 /** |
| 119 * Indicates an attempt to make a PPAPI call on a thread without previously |
| 120 * registering a message loop via PPB_MessageLoop.AttachToCurrentThread. |
| 121 * Without this registration step, no PPAPI calls are supported. |
| 122 */ |
| 123 PP_ERROR_NO_MESSAGE_LOOP = -51, |
| 124 /** |
| 125 * Indicates that the requested operation is not permitted on the current |
| 126 * thread. |
| 127 */ |
| 128 PP_ERROR_WRONG_THREAD = -52 |
118 }; | 129 }; |
119 | 130 |
OLD | NEW |