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

Side by Side Diff: ppapi/api/pp_errors.idl

Issue 7764002: Require a user gesture to display the PPAPI file chooser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
« no previous file with comments | « no previous file | ppapi/c/pp_errors.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 */ 104 */
105 PP_ERROR_FILECHANGED = -23, 105 PP_ERROR_FILECHANGED = -23,
106 /** This value indicates failure due to a time limit being exceeded. */ 106 /** This value indicates failure due to a time limit being exceeded. */
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 failure due to lack of a user gesture such as a
115 * mouse click or key input event. Examples of actions requiring a user
116 * gesture are showing the file chooser dialog and going into fullscreen
117 * mode.
118 */
119 PP_ERROR_NO_USER_GESTURE = -41,
120 /**
114 * This value indicates that the graphics context was lost due to a 121 * This value indicates that the graphics context was lost due to a
115 * power management event. 122 * power management event.
116 */ 123 */
117 PP_ERROR_CONTEXT_LOST = -50, 124 PP_ERROR_CONTEXT_LOST = -50,
118 /** 125 /**
119 * Indicates an attempt to make a PPAPI call on a thread without previously 126 * Indicates an attempt to make a PPAPI call on a thread without previously
120 * registering a message loop via PPB_MessageLoop.AttachToCurrentThread. 127 * registering a message loop via PPB_MessageLoop.AttachToCurrentThread.
121 * Without this registration step, no PPAPI calls are supported. 128 * Without this registration step, no PPAPI calls are supported.
122 */ 129 */
123 PP_ERROR_NO_MESSAGE_LOOP = -51, 130 PP_ERROR_NO_MESSAGE_LOOP = -51,
124 /** 131 /**
125 * Indicates that the requested operation is not permitted on the current 132 * Indicates that the requested operation is not permitted on the current
126 * thread. 133 * thread.
127 */ 134 */
128 PP_ERROR_WRONG_THREAD = -52 135 PP_ERROR_WRONG_THREAD = -52
129 }; 136 };
130 137
OLDNEW
« no previous file with comments | « no previous file | ppapi/c/pp_errors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698