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/proxy/ppp_input_event_proxy.h | |
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/proxy/ppp_input_event_proxy.h')
-rw-r--r-- | ppapi/proxy/ppp_input_event_proxy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ppapi/proxy/ppp_input_event_proxy.h b/ppapi/proxy/ppp_input_event_proxy.h index a7cc054..e326aec 100644 --- a/ppapi/proxy/ppp_input_event_proxy.h +++ b/ppapi/proxy/ppp_input_event_proxy.h @@ -6,6 +6,7 @@ #define PPAPI_PROXY_PPP_INPUT_EVENT_PROXY_H_ #include "ppapi/c/pp_instance.h" +#include "ppapi/c/pp_time.h" #include "ppapi/c/ppp_input_event.h" #include "ppapi/proxy/interface_proxy.h" @@ -33,6 +34,8 @@ class PPP_InputEvent_Proxy : public InterfaceProxy { const ppapi::InputEventData& data, PP_Bool* result); + void HandleInputEventAck(PP_Instance instance, PP_TimeTicks timestamp); + // When this proxy is in the plugin side, this value caches the interface // pointer so we don't have to retrieve it from the dispatcher each time. // In the host, this value is always NULL. |