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

Side by Side Diff: ppapi/c/pp_errors.h

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2011 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 Wed Sep 14 08:34:03 2011. */ 6 /* From pp_errors.idl modified Thu Jan 5 10:52:49 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 /**
120 * @} 131 * @}
121 */ 132 */
122 133
123 #endif /* PPAPI_C_PP_ERRORS_H_ */ 134 #endif /* PPAPI_C_PP_ERRORS_H_ */
124 135
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698