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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698