summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webcursor_gtk.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-18 19:25:17 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-18 19:25:17 +0000
commit88bf7fc4f30b0bb179ea1454d61f8ec1b1c7db55 (patch)
treeb375729577103f01bdd5ce85d0464932ef554730 /webkit/glue/webcursor_gtk.cc
parent123337333b910327a6966abcc4d3f087054233a2 (diff)
downloadchromium_src-88bf7fc4f30b0bb179ea1454d61f8ec1b1c7db55.zip
chromium_src-88bf7fc4f30b0bb179ea1454d61f8ec1b1c7db55.tar.gz
chromium_src-88bf7fc4f30b0bb179ea1454d61f8ec1b1c7db55.tar.bz2
gtk: provide some more cursors
The up/down resize one is used by Google Calendar when growing/shrinking events. I verified manually this looks good, but I was unable to get a screenshot with the cursor to provide evidence. It looks like a simple black double-ended up/down arrow on my computer. TEST=manually verified, fewer notimpls Review URL: http://codereview.chromium.org/5154005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66657 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webcursor_gtk.cc')
-rw-r--r--webkit/glue/webcursor_gtk.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/glue/webcursor_gtk.cc b/webkit/glue/webcursor_gtk.cc
index 54c8837..6734ef2 100644
--- a/webkit/glue/webcursor_gtk.cc
+++ b/webkit/glue/webcursor_gtk.cc
@@ -91,12 +91,12 @@ int WebCursor::GetCursorType() const {
case WebCursorInfo::TypeWestResize:
return GDK_LEFT_SIDE;
case WebCursorInfo::TypeNorthSouthResize:
- NOTIMPLEMENTED(); return GDK_LAST_CURSOR;
+ return GDK_SB_V_DOUBLE_ARROW;
case WebCursorInfo::TypeEastWestResize:
- NOTIMPLEMENTED(); return GDK_LAST_CURSOR;
+ return GDK_SB_H_DOUBLE_ARROW;
case WebCursorInfo::TypeNorthEastSouthWestResize:
- NOTIMPLEMENTED(); return GDK_LAST_CURSOR;
case WebCursorInfo::TypeNorthWestSouthEastResize:
+ // There isn't really a useful cursor available for these.
NOTIMPLEMENTED(); return GDK_LAST_CURSOR;
case WebCursorInfo::TypeColumnResize:
return GDK_SB_H_DOUBLE_ARROW; // TODO(evanm): is this correct?