Index: ppapi/api/pp_errors.idl |
diff --git a/ppapi/api/pp_errors.idl b/ppapi/api/pp_errors.idl |
index bd490812f7b6d8d07f8e7e3670a9c2c9785255a9..e912fba3eba613f8e2aefa8aae48ef4e679c7786 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, |
}; |