Index: webkit/glue/plugins/pepper_plugin_instance.h |
=================================================================== |
--- webkit/glue/plugins/pepper_plugin_instance.h (revision 51861) |
+++ webkit/glue/plugins/pepper_plugin_instance.h (working copy) |
@@ -10,7 +10,9 @@ |
#include "base/basictypes.h" |
#include "base/ref_counted.h" |
+#include "base/scoped_ptr.h" |
#include "gfx/rect.h" |
+#include "third_party/ppapi/c/pp_cursor_type.h" |
#include "third_party/ppapi/c/pp_instance.h" |
#include "third_party/ppapi/c/pp_resource.h" |
#include "third_party/WebKit/WebKit/chromium/public/WebCanvas.h" |
@@ -74,6 +76,7 @@ |
PP_Var GetOwnerElementObject(); |
bool BindGraphicsDeviceContext(PP_Resource device_id); |
bool full_frame() const { return full_frame_; } |
+ bool SetCursor(PP_CursorType type); |
// PPP_Instance pass-through. |
void Delete(); |
@@ -118,6 +121,9 @@ |
// The current device context for painting in 2D. |
scoped_refptr<DeviceContext2D> device_context_2d_; |
+ // Containes the cursor if it's set by the plugin. |
+ scoped_ptr<WebKit::WebCursorInfo> cursor_; |
+ |
DISALLOW_COPY_AND_ASSIGN(PluginInstance); |
}; |