Chromium Code Reviews| Index: webkit/plugins/ppapi/ppapi_plugin_instance.h |
| diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.h b/webkit/plugins/ppapi/ppapi_plugin_instance.h |
| index 086125f7aa756b2ddb2ed390daacbd397a088a27..535e9b24e88ae529f763f4b4c6f9b26994241bf2 100644 |
| --- a/webkit/plugins/ppapi/ppapi_plugin_instance.h |
| +++ b/webkit/plugins/ppapi/ppapi_plugin_instance.h |
| @@ -52,6 +52,7 @@ class TransportDIB; |
| namespace WebKit { |
| class WebInputEvent; |
| +class WebMouseEvent; |
| class WebPluginContainer; |
| struct WebCompositionUnderline; |
| struct WebCursorInfo; |
| @@ -305,8 +306,12 @@ class WEBKIT_PLUGINS_EXPORT PluginInstance : |
| // or embedded in a page). |
| bool IsFullPagePlugin() const; |
| - void OnLockMouseACK(int32_t result); |
| + // A mouse lock request was pending, and the success is being returned. |
|
yzshen1
2012/01/17 23:39:25
the success -> the result?
scheib
2012/01/18 17:54:58
Done.
|
| + void OnLockMouseACK(bool succeeded); |
| + // A mouse lock was in place, but has been lost. |
| void OnMouseLockLost(); |
| + // A mouse lock is enabled and mouse events are being delievered. |
| + void HandleMouseLockedInputEvent(const WebKit::WebMouseEvent& event); |
| // Simulates an input event to the plugin by passing it down to WebKit, |
| // which sends it back up to the plugin as if it came from the user. |