summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webcursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webcursor.h')
-rw-r--r--webkit/glue/webcursor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/glue/webcursor.h b/webkit/glue/webcursor.h
index 293bd74..35eb001 100644
--- a/webkit/glue/webcursor.h
+++ b/webkit/glue/webcursor.h
@@ -127,6 +127,9 @@ class WebCursor {
void SetCustomData(const WebKit::WebImage& image);
void ImageFromCustomData(WebKit::WebImage* image) const;
+ // Clamp the hotspot to the custom image's bounds, if this is a custom cursor.
+ void ClampHotspot();
+
// WebCore::PlatformCursor type.
int type_;