Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Unified Diff: ppapi/api/pp_errors.idl

Issue 8965082: Add API definition and error values for running message loops. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
};

Powered by Google App Engine
This is Rietveld 408576698