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 e05ca632efcce7baf1300762e4b63995eda44b00..5455c5481d73bfc7ca6cb205b826708ed0f44b47 100644 |
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.h |
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.h |
@@ -37,6 +37,7 @@ |
#include "ppapi/c/private/ppp_instance_private.h" |
#include "ppapi/shared_impl/ppb_instance_shared.h" |
#include "ppapi/shared_impl/ppb_view_shared.h" |
+#include "ppapi/shared_impl/tracked_callback.h" |
#include "third_party/skia/include/core/SkRefCnt.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCanvas.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
@@ -368,8 +369,9 @@ class WEBKIT_PLUGINS_EXPORT PluginInstance : |
PP_MouseCursor_Type type, |
PP_Resource image, |
const PP_Point* hot_spot) OVERRIDE; |
- virtual int32_t LockMouse(PP_Instance instance, |
- PP_CompletionCallback callback) OVERRIDE; |
+ virtual int32_t LockMouse( |
+ PP_Instance instance, |
+ scoped_refptr< ::ppapi::TrackedCallback> callback) OVERRIDE; |
virtual void UnlockMouse(PP_Instance instance) OVERRIDE; |
virtual void SetTextInputType(PP_Instance instance, |
PP_TextInput_Type type) OVERRIDE; |
@@ -633,7 +635,7 @@ class WEBKIT_PLUGINS_EXPORT PluginInstance : |
size_t selection_caret_; |
size_t selection_anchor_; |
- PP_CompletionCallback lock_mouse_callback_; |
+ scoped_refptr< ::ppapi::TrackedCallback> lock_mouse_callback_; |
// Track pending user gestures so out-of-process plugins can respond to |
// a user gesture after it has been processed. |