diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-25 20:32:56 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-25 20:32:56 +0000 |
commit | 9c90deb6ab28f8043574331bb3d2ba6c624f5106 (patch) | |
tree | 31b17aa69e5d1d389c489d070d671c9fce886686 /webkit/glue/webcursor.h | |
parent | 51d772b68710df707c1ab5fff713b8c19e8fe0be (diff) | |
download | chromium_src-9c90deb6ab28f8043574331bb3d2ba6c624f5106.zip chromium_src-9c90deb6ab28f8043574331bb3d2ba6c624f5106.tar.gz chromium_src-9c90deb6ab28f8043574331bb3d2ba6c624f5106.tar.bz2 |
Plumb Carbon SetCursor through.
BUG=http://crbug.com/32703
TEST=when hiding cursor (Flash 10.0), cursor hides (but doesn't stay hidden; that gets fixed later)
Review URL: http://codereview.chromium.org/552132
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37028 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webcursor.h')
-rw-r--r-- | webkit/glue/webcursor.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/webcursor.h b/webkit/glue/webcursor.h index 341a92a..e7cc413 100644 --- a/webkit/glue/webcursor.h +++ b/webkit/glue/webcursor.h @@ -24,6 +24,7 @@ typedef struct _GdkCursor GdkCursor; class NSCursor; #endif typedef UInt32 ThemeCursor; +struct Cursor; #endif class Pickle; @@ -92,6 +93,9 @@ class WebCursor { // Initialize this from the given Carbon ThemeCursor. void InitFromThemeCursor(ThemeCursor cursor); + // Initialize this from the given Carbon Cursor. + void InitFromCursor(const Cursor* cursor); + // Initialize this from the given Cocoa NSCursor. void InitFromNSCursor(NSCursor* cursor); #endif |