Index: ppapi/api/pp_errors.idl |
diff --git a/ppapi/api/pp_errors.idl b/ppapi/api/pp_errors.idl |
index 0f4855d564b8179d6189bff7d7782f396d9bca52..02d065d334b01b471dcefd9f096f56fb60d9fdcc 100644 |
--- a/ppapi/api/pp_errors.idl |
+++ b/ppapi/api/pp_errors.idl |
@@ -114,6 +114,17 @@ |
* This value indicates that the graphics context was lost due to a |
* power management event. |
*/ |
- PP_ERROR_CONTEXT_LOST = -50 |
+ PP_ERROR_CONTEXT_LOST = -50, |
+ /** |
+ * Indicates an attempt to make a PPAPI call on a thread without previously |
+ * registering a message loop via PPB_MessageLoop.AttachToCurrentThread. |
+ * Without this registration step, no PPAPI calls are supported. |
+ */ |
+ PP_ERROR_NO_MESSAGE_LOOP = -51, |
+ /** |
+ * Indicates that the requested operation is not permitted on the current |
+ * thread. |
+ */ |
+ PP_ERROR_WRONG_THREAD = -52 |
}; |