diff options
author | bbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-09 02:08:33 +0000 |
---|---|---|
committer | bbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-09 02:08:33 +0000 |
commit | 3b98ced7c4528bca2b7bccef06f1dbb09195e924 (patch) | |
tree | 68b5ff96929940152bfbf13fbc33a82d17bd76e0 /ppapi/thunk | |
parent | 2db72d5edd716d73a085d352219e91198f3a2ffd (diff) | |
download | chromium_src-3b98ced7c4528bca2b7bccef06f1dbb09195e924.zip chromium_src-3b98ced7c4528bca2b7bccef06f1dbb09195e924.tar.gz chromium_src-3b98ced7c4528bca2b7bccef06f1dbb09195e924.tar.bz2 |
Add HandleInputEventAck message to allow out-of-process plugins to respond to user gestures.
Modifies PluginInstance to track pending user gestures by timestamp.
Modifies ppapi/tests/test_fullscreen to not test that SetFullscreen and BindGraphics fail while fullscreen changes are pending. Because of how PluginInstance reports view changed events, these will likely fail due to race conditions.
BUG=73070
TEST=ui_tests, --gtest_filter=*PPAPITest.Fullscreen
Review URL: http://codereview.chromium.org/9558009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125768 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/thunk')
-rw-r--r-- | ppapi/thunk/ppb_instance_api.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ppapi/thunk/ppb_instance_api.h b/ppapi/thunk/ppb_instance_api.h index d7ea28a..3a357af 100644 --- a/ppapi/thunk/ppb_instance_api.h +++ b/ppapi/thunk/ppb_instance_api.h @@ -7,12 +7,13 @@ #include "ppapi/c/dev/ppb_console_dev.h" #include "ppapi/c/dev/ppb_url_util_dev.h" +#include "ppapi/c/pp_bool.h" #include "ppapi/c/pp_completion_callback.h" +#include "ppapi/c/pp_size.h" +#include "ppapi/c/pp_time.h" #include "ppapi/c/ppb_audio_config.h" #include "ppapi/c/ppb_gamepad.h" #include "ppapi/c/ppb_instance.h" -#include "ppapi/c/pp_bool.h" -#include "ppapi/c/pp_size.h" #include "ppapi/c/private/ppb_instance_private.h" #include "ppapi/shared_impl/api_id.h" @@ -92,6 +93,8 @@ class PPB_Instance_FunctionAPI { uint32_t event_classes) = 0; virtual void ClearInputEventRequest(PP_Instance instance, uint32_t event_classes) = 0; + virtual void ClosePendingUserGesture(PP_Instance instance, + PP_TimeTicks timestamp) = 0; // Messaging. virtual void PostMessage(PP_Instance instance, PP_Var message) = 0; |