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

Unified Diff: ppapi/c/pp_errors.h

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 | « ppapi/api/pp_errors.idl ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/pp_errors.h
===================================================================
--- ppapi/c/pp_errors.h (revision 126073)
+++ ppapi/c/pp_errors.h (working copy)
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From pp_errors.idl modified Thu Jan 5 10:52:49 2012. */
+/* From pp_errors.idl modified Tue Mar 13 17:32:37 2012. */
#ifndef PPAPI_C_PP_ERRORS_H_
#define PPAPI_C_PP_ERRORS_H_
@@ -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 | « ppapi/api/pp_errors.idl ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698