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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ppapi/c/pp_errors.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/pp_errors.idl
===================================================================
--- ppapi/api/pp_errors.idl (revision 126073)
+++ ppapi/api/pp_errors.idl (working copy)
@@ -111,6 +111,13 @@
*/
PP_ERROR_USERCANCEL = -40,
/**
+ * This value indicates failure due to lack of a user gesture such as a
+ * mouse click or key input event. Examples of actions requiring a user
+ * gesture are showing the file chooser dialog and going into fullscreen
+ * mode.
+ */
+ PP_ERROR_NO_USER_GESTURE = -41,
+ /**
* This value indicates that the graphics context was lost due to a
* power management event.
*/
« 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