summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authorbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-14 07:45:57 +0000
committerbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-14 07:45:57 +0000
commiteebb0fdc22dd89d60cb96fee8589a656db15e1b6 (patch)
treecbba72e2fb1f22c13ec28489e5e2ad14aa5209bc /ppapi
parent5f16f8a29f001c9d7f505ad4a27030d8bdd1d71a (diff)
downloadchromium_src-eebb0fdc22dd89d60cb96fee8589a656db15e1b6.zip
chromium_src-eebb0fdc22dd89d60cb96fee8589a656db15e1b6.tar.gz
chromium_src-eebb0fdc22dd89d60cb96fee8589a656db15e1b6.tar.bz2
Require a user gesture to show the file chooser.
BUG=73070 TEST=manual Review URL: http://codereview.chromium.org/7764002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126609 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/api/pp_errors.idl7
-rw-r--r--ppapi/c/pp_errors.h9
2 files changed, 15 insertions, 1 deletions
diff --git a/ppapi/api/pp_errors.idl b/ppapi/api/pp_errors.idl
index 02d065d..fc0ff4a 100644
--- a/ppapi/api/pp_errors.idl
+++ b/ppapi/api/pp_errors.idl
@@ -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.
*/
diff --git a/ppapi/c/pp_errors.h b/ppapi/c/pp_errors.h
index 76d75df..b02ee1b 100644
--- a/ppapi/c/pp_errors.h
+++ b/ppapi/c/pp_errors.h
@@ -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 @@ enum {
*/
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.
*/