summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webcursor.h
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-15 21:51:19 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-15 21:51:19 +0000
commit997a47ac989abd294e94f8384f1eba6ad5698ad2 (patch)
tree5e1b92105eb5f52626c583953ed7204584e37885 /webkit/glue/webcursor.h
parentfa1cf0b87092ed3f3069a8549270f999e05cca20 (diff)
downloadchromium_src-997a47ac989abd294e94f8384f1eba6ad5698ad2.zip
chromium_src-997a47ac989abd294e94f8384f1eba6ad5698ad2.tar.gz
chromium_src-997a47ac989abd294e94f8384f1eba6ad5698ad2.tar.bz2
(Mac) Intercept (Carbon) cursor setting by plugins and forward it on properly.
BUG=http://crbug.com/20717 TEST=as in bug; this covers old Flash Review URL: http://codereview.chromium.org/550062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36416 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webcursor.h')
-rw-r--r--webkit/glue/webcursor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/glue/webcursor.h b/webkit/glue/webcursor.h
index 8697f731..ed59e0b 100644
--- a/webkit/glue/webcursor.h
+++ b/webkit/glue/webcursor.h
@@ -23,6 +23,7 @@ typedef struct _GdkCursor GdkCursor;
#else
class NSCursor;
#endif
+typedef UInt32 ThemeCursor;
#endif
class Pickle;
@@ -85,7 +86,11 @@ class WebCursor {
// returns GDK_CURSOR_IS_PIXMAP.
GdkCursor* GetCustomCursor() const;
#elif defined(OS_MACOSX)
+ // Gets an NSCursor* for this cursor.
NSCursor* GetCursor() const;
+
+ // Initialize this from the given Carbon ThemeCursor.
+ void InitFromThemeCursor(ThemeCursor cursor);
#endif
private: