| 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 a2d429b405433369fa89d10c2e7c0b7761cc3bfa..fdcd0addb03939e81a90564a395c7812cb7fe4f3 100644
|
| --- a/webkit/plugins/ppapi/ppapi_plugin_instance.h
|
| +++ b/webkit/plugins/ppapi/ppapi_plugin_instance.h
|
| @@ -53,6 +53,7 @@ class TransportDIB;
|
|
|
| namespace WebKit {
|
| class WebInputEvent;
|
| +class WebMouseEvent;
|
| class WebPluginContainer;
|
| struct WebCompositionUnderline;
|
| struct WebCursorInfo;
|
| @@ -295,8 +296,10 @@ class WEBKIT_PLUGINS_EXPORT PluginInstance :
|
| // or embedded in a page).
|
| bool IsFullPagePlugin() const;
|
|
|
| - void OnLockMouseACK(int32_t result);
|
| - void OnMouseLockLost();
|
| + // Mouse Lock Target interface:
|
| + virtual void OnLockMouseACK2(bool success);
|
| + virtual void OnMouseLockLost2();
|
| + virtual 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.
|
| @@ -606,6 +609,7 @@ class WEBKIT_PLUGINS_EXPORT PluginInstance :
|
| gfx::Rect text_input_caret_bounds_;
|
| bool text_input_caret_set_;
|
|
|
| + bool mouse_locked_to_this_instance_;
|
| PP_CompletionCallback lock_mouse_callback_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(PluginInstance);
|
|
|